summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2015-06-15 20:19:47 +0200
committerMoritz Lipp2015-06-15 20:19:47 +0200
commitc823ecf1c17ae1c93a480852cf63f347fb310beb (patch)
tree412d10c27b14bed6a25de4f8b7e2e43a25377c1d
downloadaur-c823ecf1c17ae1c93a480852cf63f347fb310beb.tar.gz
Initial import
-rw-r--r--.AURINFO24
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD42
3 files changed, 91 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..6083728c529
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,24 @@
+pkgbase = zathura-git
+ pkgdesc = a document viewer
+ pkgver = 0.2.9.2.g1eec4a6
+ pkgrel = 1
+ url = http://pwmt.org/projects/zathura
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ makedepends = python-docutils
+ makedepends = intltool
+ depends = girara-git
+ depends = gtk3>=3.10
+ depends = cairo>=1.8.8
+ optdepends = zathura-pdf-poppler-git: PDF support by using poppler
+ optdepends = zathura-pdf-mupdf-git: PDF support by using mupdf
+ optdepends = zathura-djvu-git: djvu support by using djvulibre
+ optdepends = zathura-ps-git: PostSctipt support by using libspectre
+ provides = zathura
+ conflicts = zathura
+ source = zathura::git+git://pwmt.org/zathura.git#branch=develop
+
+pkgname = zathura-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b900ea0d50
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = zathura-git
+ pkgdesc = a document viewer
+ pkgver = 0.2.9.2.g1eec4a6
+ pkgrel = 1
+ url = http://pwmt.org/projects/zathura
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ makedepends = python-docutils
+ makedepends = intltool
+ depends = girara-git
+ depends = gtk3>=3.10
+ depends = cairo>=1.8.8
+ optdepends = zathura-pdf-poppler-git: PDF support by using poppler
+ optdepends = zathura-pdf-mupdf-git: PDF support by using mupdf
+ optdepends = zathura-djvu-git: djvu support by using djvulibre
+ optdepends = zathura-ps-git: PostSctipt support by using libspectre
+ provides = zathura
+ conflicts = zathura
+ source = zathura::git+git://pwmt.org/zathura.git#branch=develop
+ md5sums = SKIP
+
+pkgname = zathura-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e0142ea9d2b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Moritz Lipp <mlq@pwmt.org>
+
+pkgname=zathura-git
+pkgver=0.2.9.2.g1eec4a6
+pkgrel=1
+pkgdesc="a document viewer"
+arch=('i686' 'x86_64')
+url="http://pwmt.org/projects/zathura"
+license=('custom')
+depends=('girara-git' 'gtk3>=3.10' 'cairo>=1.8.8')
+makedepends=('git' 'python-docutils' 'intltool')
+conflicts=('zathura')
+provides=('zathura')
+source=('zathura::git+git://pwmt.org/zathura.git#branch=develop')
+md5sums=('SKIP')
+_gitname=zathura
+
+optdepends=(
+ 'zathura-pdf-poppler-git: PDF support by using poppler'
+ 'zathura-pdf-mupdf-git: PDF support by using mupdf'
+ 'zathura-djvu-git: djvu support by using djvulibre'
+ 'zathura-ps-git: PostSctipt support by using libspectre'
+)
+
+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 "$_gitname"
+ local ver="$(git describe --long)"
+ printf "%s" "${ver//-/.}"
+}
+
+# vim:set ts=2 sw=2 et: