summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2015-06-15 20:19:52 +0200
committerMoritz Lipp2015-06-15 20:19:52 +0200
commit46cfd5d5ecceaaebc0623d336cca2023ff486419 (patch)
treefa4605cce32829500461075ba1295bb75123ca74
downloadaur-46cfd5d5ecceaaebc0623d336cca2023ff486419.tar.gz
Initial import
-rw-r--r--.AURINFO17
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD35
3 files changed, 70 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..6cd0b300955
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,17 @@
+pkgbase = zathura-pdf-mupdf-git
+ pkgdesc = PDF support for zathura by using the mupdf library
+ pkgver = 0.2.6.5.ga7bef63
+ pkgrel = 1
+ url = http://pwmt.org/projects/zathura-pdf-mupdf
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ depends = zathura-git
+ depends = mupdf>=1.4
+ provides = zathura-pdf-mupdf
+ conflicts = zathura-pdf-mupdf
+ source = zathura-pdf-mupdf::git+git://pwmt.org/zathura-pdf-mupdf.git#branch=develop
+
+pkgname = zathura-pdf-mupdf-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..83aaef32a46
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = zathura-pdf-mupdf-git
+ pkgdesc = PDF support for zathura by using the mupdf library
+ pkgver = 0.2.6.5.ga7bef63
+ pkgrel = 1
+ url = http://pwmt.org/projects/zathura-pdf-mupdf
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ depends = zathura-git
+ depends = mupdf>=1.4
+ provides = zathura-pdf-mupdf
+ conflicts = zathura-pdf-mupdf
+ source = zathura-pdf-mupdf::git+git://pwmt.org/zathura-pdf-mupdf.git#branch=develop
+ md5sums = SKIP
+
+pkgname = zathura-pdf-mupdf-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c4cc467c030
--- /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: