summaryrefslogtreecommitdiff
path: root/community/zathura-ps/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zathura-ps/PKGBUILD')
-rw-r--r--community/zathura-ps/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/zathura-ps/PKGBUILD b/community/zathura-ps/PKGBUILD
index 8f8b2cbdb..7e20349ea 100644
--- a/community/zathura-ps/PKGBUILD
+++ b/community/zathura-ps/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: karnath <karnathtorjian@gmail.com>
pkgname=zathura-ps
-pkgver=0.2.0
+pkgver=0.2.1
pkgrel=1
pkgdesc="Adds ps support to zathura by using the libspectre library"
arch=('i686' 'x86_64')
@@ -11,11 +11,13 @@ url="https://pwmt.org/projects/zathura/plugins/zathura-ps/"
license=('custom')
depends=('libspectre' 'zathura')
source=(https://pwmt.org/projects/zathura/plugins/download/zathura-ps-$pkgver.tar.gz)
-md5sums=('aaec6d2abad1f557b38aaad26d86fb64')
+md5sums=('45619e744b69bf16b408b50cf32f2df5')
build(){
- cd ${srcdir}/zathura-ps-$pkgver
- make
- make DESTDIR="$pkgdir" install
- install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ make -C "$pkgname-$pkgver"
+}
+
+package(){
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ install -Dm0644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}