blob: 5bcfa882c21d6f31ed8dea9796497aca6d2f10ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 149632 2015-12-07 05:59:24Z foutrelis $
# 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
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/"
license=('GPL')
depends=('gst-plugins-base' 'gtksourceview3' 'poppler-glib' 'python-dbus' 'python-gobject')
makedepends=('boost' 'bzr' 'djvulibre' 'libgxps' 'libspectre')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
optdepends=('djvulibre: Preview DjVu documents'
'gst-libav: Extra media codecs'
'gst-plugins-bad: Extra media codecs'
'gst-plugins-good: Extra media codecs'
'gst-plugins-ugly: Extra media codecs'
'imagemagick: Support for more image formats'
'libgxps: Preview XPS 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')
prepare() {
cd $pkgname-$pkgver
# Use bsdtar (libarchive) for RAR.
patch -Np1 -i "$srcdir/gloobus-preview-usr-bsdtar-for-rar.patch"
}
build() {
cd $pkgname-$pkgver
./autogen.sh --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|