summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2015-06-15 20:19:36 +0200
committerMoritz Lipp2015-06-15 20:19:36 +0200
commit5afdcaaf50197a2b27bc64041a1db696a94bb35e (patch)
tree49353dcf1a14222945be7f30301fbbc9ffcadc70
downloadaur-5afdcaaf50197a2b27bc64041a1db696a94bb35e.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..4291269c2dd
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,17 @@
+pkgbase = zathura-djvu-git
+ pkgdesc = DjVu support for zathura
+ pkgver = 0.2.2.3.gf64f3ff
+ pkgrel = 1
+ url = http://pwmt.org/projects/zathura/plugins/zathura-djvu
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ depends = zathura-git
+ depends = djvulibre
+ provides = zathura-djvu
+ conflicts = zathura-djvu
+ source = zathura-djvu::git+git://pwmt.org/zathura-djvu.git#branch=develop
+
+pkgname = zathura-djvu-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..59dfc473ad2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = zathura-djvu-git
+ pkgdesc = DjVu support for zathura
+ pkgver = 0.2.2.3.gf64f3ff
+ pkgrel = 1
+ url = http://pwmt.org/projects/zathura/plugins/zathura-djvu
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ depends = zathura-git
+ depends = djvulibre
+ provides = zathura-djvu
+ conflicts = zathura-djvu
+ source = zathura-djvu::git+git://pwmt.org/zathura-djvu.git#branch=develop
+ md5sums = SKIP
+
+pkgname = zathura-djvu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..116b62dc7c8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Moritz Lipp <mlq@pwmt.org>
+
+pkgname=zathura-djvu-git
+pkgrel=1
+pkgver=0.2.2.3.gf64f3ff
+pkgdesc="DjVu support for zathura"
+arch=('i686' 'x86_64')
+url="http://pwmt.org/projects/zathura/plugins/zathura-djvu"
+license=('custom')
+depends=('zathura-git' 'djvulibre')
+makedepends=('git')
+conflicts=('zathura-djvu')
+provides=('zathura-djvu')
+source=('zathura-djvu::git+git://pwmt.org/zathura-djvu.git#branch=develop')
+md5sums=('SKIP')
+_gitname=zathura-djvu
+
+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: