summaryrefslogtreecommitdiff
path: root/community/zathura-pdf-mupdf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zathura-pdf-mupdf/PKGBUILD')
-rw-r--r--community/zathura-pdf-mupdf/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/zathura-pdf-mupdf/PKGBUILD b/community/zathura-pdf-mupdf/PKGBUILD
new file mode 100644
index 000000000..de678da8a
--- /dev/null
+++ b/community/zathura-pdf-mupdf/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 67819 2012-03-14 16:22:14Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Moritz Lipp <mlq@pwmt.org>
+
+pkgname=zathura-pdf-mupdf
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Adds pdf support to zathura by using the mupdf library"
+arch=('i686' 'x86_64')
+url="https://pwmt.org/projects/zathura/plugins/zathura-pdf-mupdf/"
+license=('custom')
+depends=('mupdf>=1.1' 'zathura')
+conflicts=('zathura-pdf-poppler')
+source=("https://pwmt.org/projects/zathura/plugins/download/$pkgname-$pkgver.tar.gz")
+md5sums=('954b6375b5d81e91cd7477e8a5b4552f')
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ make
+}
+
+package(){
+ cd "${srcdir}/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}