aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/zathura-pdf-poppler/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/zathura-pdf-poppler/APKBUILD')
-rw-r--r--unmaintained/zathura-pdf-poppler/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/zathura-pdf-poppler/APKBUILD b/unmaintained/zathura-pdf-poppler/APKBUILD
new file mode 100644
index 0000000000..44741ec2bc
--- /dev/null
+++ b/unmaintained/zathura-pdf-poppler/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Andrew Hills <ahills@ednos.net>
+# Maintainer: Andrew Hills <ahills@ednos.net>
+pkgname=zathura-pdf-poppler
+pkgver=0.2.6
+pkgrel=0
+pkgdesc="PDF support for zathura via poppler"
+url="https://pwmt.org/projects/$pkgname"
+arch="all"
+license="zlib"
+depends=""
+depends_dev=""
+makedepends="poppler-dev girara-dev zathura-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="fc242236dda05f4a75cb41b52356ccae zathura-pdf-poppler-0.2.6.tar.gz"
+sha256sums="d1eb0c7a4f647c141192a2d7bf66413b9c5f1842463947ab87a8a1edcf8e58d5 zathura-pdf-poppler-0.2.6.tar.gz"
+sha512sums="3675d73da173cdfebee5ec83fa36d1861d6143b55931a2be16b24be1dbc70ce98dbc559f92e93e0d7f4d9073095d276754f64e41714810a6610abb09ab447aea zathura-pdf-poppler-0.2.6.tar.gz"