summaryrefslogtreecommitdiff
path: root/community/zathura-djvu
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/zathura-djvu
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/zathura-djvu')
-rw-r--r--community/zathura-djvu/PKGBUILD26
-rw-r--r--community/zathura-djvu/zathura-djvu.install6
2 files changed, 32 insertions, 0 deletions
diff --git a/community/zathura-djvu/PKGBUILD b/community/zathura-djvu/PKGBUILD
new file mode 100644
index 000000000..6d83912ef
--- /dev/null
+++ b/community/zathura-djvu/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 91452 2013-05-22 23:23:11Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: karnath <karnathtorjian@gmail.com>
+
+pkgname=zathura-djvu
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Adds DjVu support to zathura by using the djvulibre library"
+arch=('i686' 'x86_64')
+url="https://pwmt.org/projects/zathura/plugins/zathura-djvu/"
+license=('custom')
+depends=('djvulibre' 'zathura')
+install="$pkgname.install"
+source=("https://pwmt.org/projects/zathura/plugins/download/zathura-djvu-$pkgver.tar.gz")
+md5sums=('a472f706d6f6384d8bc2750141a84fc6')
+
+build(){
+ make -C "${srcdir}/$pkgname-$pkgver"
+}
+
+package(){
+ make -C "${srcdir}/$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ install -Dm0644 "${srcdir}/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
diff --git a/community/zathura-djvu/zathura-djvu.install b/community/zathura-djvu/zathura-djvu.install
new file mode 100644
index 000000000..247455a1d
--- /dev/null
+++ b/community/zathura-djvu/zathura-djvu.install
@@ -0,0 +1,6 @@
+post_install(){
+ update-desktop-database -q
+}
+post_remove(){
+ update-desktop-database -q
+}