aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/zathura-djvu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/zathura-djvu/APKBUILD')
-rw-r--r--unmaintained/zathura-djvu/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/zathura-djvu/APKBUILD b/unmaintained/zathura-djvu/APKBUILD
new file mode 100644
index 0000000000..92fe7902e0
--- /dev/null
+++ b/unmaintained/zathura-djvu/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Andrew Hills <ahills@ednos.net>
+# Maintainer: Andrew Hills <ahills@ednos.net>
+pkgname=zathura-djvu
+pkgver=0.2.5
+pkgrel=0
+pkgdesc="DjVu support for zathura"
+url="https://pwmt.org/projects/$pkgname"
+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/$pkgname/download/$pkgname-$pkgver.tar.gz"
+
+_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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="b7fcd813a8eba888340e9556769eaf62 zathura-djvu-0.2.5.tar.gz"
+sha256sums="08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d zathura-djvu-0.2.5.tar.gz"
+sha512sums="475ad916ed4b1cb1f7d79cf3417a68084bf00d737ffd5436c8079012dff2c8a3c4af28753dd42ad412269ea340e3844f2f781eee080f5487a13ee3a272ffa55a zathura-djvu-0.2.5.tar.gz"