diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 02:04:13 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 02:04:13 -0300 |
commit | 0a088f3c285e53ee377271f42c16071e3ee5bafd (patch) | |
tree | ee094061e4ec6cd7808201f3c75c7f343ef3ba3a /libre/atril/PKGBUILD | |
parent | 0be822175bb3cef0534b9a0597e84ae1ee6374ec (diff) | |
parent | 035f2fd609cd247ac0430f15cad3af94ce79f5f8 (diff) | |
download | abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.tar.gz abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.tar.bz2 abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/atril/PKGBUILD')
-rw-r--r-- | libre/atril/PKGBUILD | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/libre/atril/PKGBUILD b/libre/atril/PKGBUILD new file mode 100644 index 000000000..9cf1c2fed --- /dev/null +++ b/libre/atril/PKGBUILD @@ -0,0 +1,61 @@ +# $Id: PKGBUILD 106531 2014-03-05 20:16:04Z flexiondotorg $ +# Maintainer (Arch): Martin Wimpress <code@flexion.org> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=atril +pkgver=1.8.0 +pkgrel=1.parabola1 +pkgdesc="Simply a document viewer, with libarchive support" +url="http://mate-desktop.org" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk2' 'libsm' 'libspectre' + 'mate-desktop' 'mate-icon-theme' 'poppler-glib' 'zlib') +makedepends=('caja' 'djvulibre' 'gobject-introspection' 'libgxps' 'mate-common' + 'perl-xml-parser' 'texlive-bin' 'yelp-tools') +optdepends=('caja: Document Properties extension' + 'djvulibre: DjVu support' + 'libgxps: XPS support' + 'p7zip: cbz and cb7 compressed comic books' + 'texlive-bin: DVI support' + 'libarchive: cbr compressed comic books' + 'yelp: for reading MATE help documents') +replaces=('mate-document-viewer' "$pkgname-libre") +provides=('mate-document-viewer') +conflicts=('mate-document-viewer' "$pkgname-libre") +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz" + 'libarchive.patch') +sha1sums=('8327437ba12df61326b83342cea746d1764727d0' + 'e88168d61b18ce8e340ef3db9c6df6bb66c65d14') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + NOCONFIGURE=1 ./autogen.sh + patch -Np1 -i ../libarchive.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --with-gtk=2.0 \ + --enable-gtk-doc \ + --enable-djvu \ + --enable-dvi \ + --enable-t1lib \ + --enable-pixbuf \ + --enable-comics \ + --enable-xps \ + --enable-introspection \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |