summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..c4cc467c0300
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Moritz Lipp <mlq@pwmt.org>
+
+pkgname=zathura-pdf-mupdf-git
+pkgrel=1
+pkgver=0.2.6.5.ga7bef63
+pkgdesc="PDF support for zathura by using the mupdf library"
+arch=('i686' 'x86_64')
+url="http://pwmt.org/projects/zathura-pdf-mupdf"
+license=('custom')
+depends=('zathura-git' 'mupdf>=1.4')
+makedepends=('git')
+conflicts=('zathura-pdf-mupdf')
+provides=('zathura-pdf-mupdf')
+source=('zathura-pdf-mupdf::git+git://pwmt.org/zathura-pdf-mupdf.git#branch=develop')
+md5sums=('SKIP')
+_gitname=zathura-pdf-mupdf
+
+build() {
+ cd "$srcdir/$_gitname"
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir/" install
+ install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ local ver="$(git describe --long --always)"
+ printf "%s" "${ver//-/.}"
+}
+
+# vim:set ts=2 sw=2 et: