aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zathura-djvu
diff options
context:
space:
mode:
authorAndrew Hills <ahills@ednos.net>2015-06-07 17:55:58 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-09 14:05:56 +0000
commit14f94bcd683c1dfa002e229af79dfa2f90e919d3 (patch)
tree0df4859b88695a33f5b23df492fa73d102b7d54b /testing/zathura-djvu
parent4d3b387a1c4f0ced8a6959cb334f79e4dc1874f1 (diff)
downloadaports-14f94bcd683c1dfa002e229af79dfa2f90e919d3.tar.bz2
aports-14f94bcd683c1dfa002e229af79dfa2f90e919d3.tar.xz
testing/zathura-djvu: new aport
https://pwmt.org/projects/zathura-djvu DjVu support for zathura
Diffstat (limited to 'testing/zathura-djvu')
-rw-r--r--testing/zathura-djvu/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/zathura-djvu/APKBUILD b/testing/zathura-djvu/APKBUILD
new file mode 100644
index 0000000000..a739ce516a
--- /dev/null
+++ b/testing/zathura-djvu/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Andrew Hills <ahills@ednos.net>
+# Maintainer: Andrew Hills <ahills@ednos.net>
+pkgname=zathura-djvu
+pkgver=0.2.4
+pkgrel=0
+pkgdesc="DjVu support for zathura"
+url="https://pwmt.org/projects/zathura-djvu"
+arch="all"
+license="zlib"
+depends=""
+depends_dev=""
+makedepends="$depends_dev zathura-dev girara-dev djvulibre-dev gtk+3.0-dev"
+install=""
+subpackages=""
+source="https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-$pkgver.tar.gz"
+
+_builddir="$srcdir"/zathura-djvu-$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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="672a25dc9433b2541971c2e4e052bdd3 zathura-djvu-0.2.4.tar.gz"
+sha256sums="ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc zathura-djvu-0.2.4.tar.gz"
+sha512sums="192df545b686259089342044ab682c2517f8e377667a9d44f6f416e1ac7fb7b2e45fa22d34004583c6081650a15d2becb350296a39a647a8dcd2ccc7ef1066d8 zathura-djvu-0.2.4.tar.gz"