aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAlan Lacerda <alacerda@alpinelinux.org>2015-05-06 15:53:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-07 11:00:43 +0000
commite17acab7a73fdf47d5bbad9fc94cbf6b0f1669a5 (patch)
treeede14235ec545675fa4e02520ba371be40dd5808 /testing
parentf9accc21a6e9384b4ce28fe113809d6769b060f5 (diff)
downloadaports-e17acab7a73fdf47d5bbad9fc94cbf6b0f1669a5.tar.bz2
aports-e17acab7a73fdf47d5bbad9fc94cbf6b0f1669a5.tar.xz
testing/atril: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/atril/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/atril/APKBUILD b/testing/atril/APKBUILD
new file mode 100644
index 0000000000..32b9e6353e
--- /dev/null
+++ b/testing/atril/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
+# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
+pkgname=atril
+pkgver=1.9.90
+pkgrel=0
+pkgdesc="A document viewer for MATE"
+url="https://github.com/mate-desktop/atril"
+arch="all"
+license="GPLv2"
+depends="mate-icon-theme abiword-plugin-epub"
+depends_dev=""
+makedepends="$depends_dev intltool glib-dev gtk+2.0-dev mate-desktop-dev
+ dconf-dev libsm-dev libsecret-dev caja-extensions-dev caja-dev
+ poppler-dev tiff-dev itstool"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --enable-epub \
+ --with-gtk=2.0 \
+ --prefix=/usr || return 1
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}" install || return 1
+ find "$pkgdir" -name \*.la -delete
+}
+
+md5sums="22738902c0aecaef4c8157f82fd48d59 atril-1.9.90.tar.xz"
+sha256sums="0be1008456101935ee202a54458bed1c06028e5d2a9dedbbae530c427440f97c atril-1.9.90.tar.xz"
+sha512sums="a4fdc356dd6f9f0faa4e2e11e00ddaa7858483f71c9f6b3eedb544b8204595c1806a6c19b3094fd9477a588244f5dd261f32001300fe6e90037ce282855a2eaa atril-1.9.90.tar.xz"