aboutsummaryrefslogtreecommitdiffstats
path: root/community/atril/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-10 09:59:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-10 10:07:07 +0000
commit99e950ee2b265d0677d6c624434f6cffa6273a04 (patch)
tree64170c80f3db42d544a4268a30e49d6d2e73f7d6 /community/atril/APKBUILD
parentd4213a0273ebe3a9ebee1008c0de9037d91eedf2 (diff)
downloadaports-99e950ee2b265d0677d6c624434f6cffa6273a04.tar.bz2
aports-99e950ee2b265d0677d6c624434f6cffa6273a04.tar.xz
community/atril,caja*: move from main
Diffstat (limited to 'community/atril/APKBUILD')
-rw-r--r--community/atril/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/community/atril/APKBUILD b/community/atril/APKBUILD
new file mode 100644
index 0000000000..8208648c88
--- /dev/null
+++ b/community/atril/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
+# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
+pkgname=atril
+pkgver=1.10.2
+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 libxml2-utils"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$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
+}
+
+md5sums="53173eb29b3b6a906c2470d7572cca02 atril-1.10.2.tar.xz"
+sha256sums="d8252b205a9207bbb436e38d6e3e2793528808d6314d35ff508fd1d7f738840f atril-1.10.2.tar.xz"
+sha512sums="767a306f18b17fb48855ee504435c872f55a2ed621cbdc162293cd7403bfe84e0703a8a17cd02c09303021393338d6e14f905fe00fa30ea58a8ac365b7dd0302 atril-1.10.2.tar.xz"