summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/gloobus-preview/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/libre/gloobus-preview/PKGBUILD b/libre/gloobus-preview/PKGBUILD
index 5bcfa882c..447a378f4 100644
--- a/libre/gloobus-preview/PKGBUILD
+++ b/libre/gloobus-preview/PKGBUILD
@@ -1,10 +1,12 @@
-# $Id: PKGBUILD 149632 2015-12-07 05:59:24Z foutrelis $
+# $Id: PKGBUILD 167838 2016-03-21 17:48:29Z bgyorgy $
# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=gloobus-preview
-pkgver=0.4.5.333
-pkgrel=3.parabola1
+_bzrrev=335
+_bzrpath=~gloobus-dev/$pkgname/last_working_branch
+pkgver=0.4.5.$_bzrrev
+pkgrel=1.parabola1
pkgdesc="GNOME application designed to enable a full screen preview of any kind of file, with libarchive support"
arch=('i686' 'x86_64')
url="http://gloobus.net/"
@@ -23,25 +25,24 @@ optdepends=('djvulibre: Preview DjVu documents'
'libspectre: Preview PostScript documents'
'unoconv: Preview LibreOffice compatible documents')
install=$pkgname.install
-source=($pkgname-$pkgver::bzr+http://bazaar.launchpad.net/~gloobus-dev/gloobus-preview/last_working_branch#revision=333
- gloobus-preview-usr-bsdtar-for-rar.patch)
-md5sums=('SKIP'
- 'f605aab1153b7dcd136a16264182a526')
+source=($pkgname-$_bzrrev.tar.gz::http://bazaar.launchpad.net/$_bzrpath/tarball/$_bzrrev
+ 'gloobus-preview-usr-bsdtar-for-rar.patch')
+sha256sums=('41f6a8935f74341b383e92661311d5e25c422c3fcebebdffa07e496412bef313'
+ 'd9b2718b1584f55c5d714e7bba6c957f3e3653d76603c08526c8c8ea79275e80')
prepare() {
- cd $pkgname-$pkgver
-
+ cd $_bzrpath
# Use bsdtar (libarchive) for RAR.
patch -Np1 -i "$srcdir/gloobus-preview-usr-bsdtar-for-rar.patch"
}
build() {
- cd $pkgname-$pkgver
+ cd $_bzrpath
./autogen.sh --prefix=/usr
make
}
package() {
- cd $pkgname-$pkgver
+ cd $_bzrpath
make DESTDIR="$pkgdir" install
}