summaryrefslogtreecommitdiff
path: root/libre/atril-gtk3/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-11 23:15:33 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-12 03:04:19 -0300
commit4fa7d689bfb3b3d83b74ad1d882c317f6b14f238 (patch)
tree3c30d9591b6b63ec925e7f3631013318288ccdcf /libre/atril-gtk3/PKGBUILD
parent151f5e78fffebbc7edafd588f5a2c82ca2378185 (diff)
downloadabslibre-4fa7d689bfb3b3d83b74ad1d882c317f6b14f238.tar.gz
abslibre-4fa7d689bfb3b3d83b74ad1d882c317f6b14f238.tar.bz2
abslibre-4fa7d689bfb3b3d83b74ad1d882c317f6b14f238.zip
atril-gtk3: add new package to [libre]
Diffstat (limited to 'libre/atril-gtk3/PKGBUILD')
-rw-r--r--libre/atril-gtk3/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/libre/atril-gtk3/PKGBUILD b/libre/atril-gtk3/PKGBUILD
new file mode 100644
index 000000000..7a9a5a3d4
--- /dev/null
+++ b/libre/atril-gtk3/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 133074 2015-05-09 14:22:26Z flexiondotorg $
+# Maintainer (Arch): Martin Wimpress <code@flexion.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+_ver=1.10
+_pkgbase=atril
+pkgname=(${_pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1.parabola1
+pkgdesc="MATE document viewer (GTK3 version [EXPERIMENTAL]), with libarchive support for compressed comic books"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk3' 'libsecret' 'libsm' 'libspectre'
+ 'mate-desktop-gtk3>=1.10' 'mate-icon-theme' 'poppler-glib' 'webkitgtk' 'zlib' 'libarchive')
+makedepends=('caja-gtk3>=1.10' 'djvulibre' 'gobject-introspection' 'libgxps'
+ 'mate-common' 'texlive-bin' 'yelp-tools')
+optdepends=('caja-gtk3: Document Properties extension'
+ 'djvulibre: DjVu support'
+ 'libgxps: XPS support'
+ 'texlive-bin: DVI support'
+ 'yelp: for reading MATE help documents')
+groups=('mate-extra-gtk3')
+conflicts=("${_pkgbase}")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('7abd5b9310d88cb5da05248f1c55bb9ac069ac28')
+install=${_pkgbase}.install
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --with-gtk=3.0 \
+ --enable-gtk-doc \
+ --enable-djvu \
+ --enable-dvi \
+ --enable-epub \
+ --enable-t1lib \
+ --enable-pixbuf \
+ --enable-comics \
+ --enable-xps \
+ --enable-introspection \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}