summaryrefslogtreecommitdiff
path: root/community/zathura-ps
diff options
context:
space:
mode:
Diffstat (limited to 'community/zathura-ps')
-rw-r--r--community/zathura-ps/PKGBUILD24
-rw-r--r--community/zathura-ps/zathura-ps.install6
2 files changed, 30 insertions, 0 deletions
diff --git a/community/zathura-ps/PKGBUILD b/community/zathura-ps/PKGBUILD
new file mode 100644
index 000000000..9440bf22d
--- /dev/null
+++ b/community/zathura-ps/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 67819 2012-03-14 16:22:14Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: karnath <karnathtorjian@gmail.com>
+
+pkgname=zathura-ps
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Adds ps support to zathura by using the libspectre library"
+arch=('i686' 'x86_64')
+url="https://pwmt.org/projects/zathura/plugins/zathura-ps/"
+license=('custom')
+depends=('libspectre' 'zathura')
+install="$pkgname.install"
+source=(https://pwmt.org/projects/zathura/plugins/download/zathura-ps-$pkgver.tar.gz)
+md5sums=('338af976c03c0aa1471b156a0efdc45c')
+
+build(){
+ make -C "$pkgname-$pkgver"
+}
+
+package(){
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ install -Dm0644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/community/zathura-ps/zathura-ps.install b/community/zathura-ps/zathura-ps.install
new file mode 100644
index 000000000..247455a1d
--- /dev/null
+++ b/community/zathura-ps/zathura-ps.install
@@ -0,0 +1,6 @@
+post_install(){
+ update-desktop-database -q
+}
+post_remove(){
+ update-desktop-database -q
+}