summaryrefslogtreecommitdiff
path: root/user/djvulibre/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/djvulibre/APKBUILD')
-rw-r--r--user/djvulibre/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/djvulibre/APKBUILD b/user/djvulibre/APKBUILD
new file mode 100644
index 000000000..a90485e6a
--- /dev/null
+++ b/user/djvulibre/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=djvulibre
+pkgver=3.5.27
+pkgrel=0
+pkgdesc="Format for distributing documents and images"
+url="http://djvu.sourceforge.net/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev imagemagick libjpeg-turbo-dev tiff-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://downloads.sourceforge.net/djvu/djvulibre-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee djvulibre-3.5.27.tar.gz"