summaryrefslogtreecommitdiff
path: root/community/zathura-djvu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zathura-djvu/PKGBUILD')
-rw-r--r--community/zathura-djvu/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/zathura-djvu/PKGBUILD b/community/zathura-djvu/PKGBUILD
index fce4581e6..70fb348b7 100644
--- a/community/zathura-djvu/PKGBUILD
+++ b/community/zathura-djvu/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75893 2012-09-05 01:14:30Z dwallace $
+# $Id: PKGBUILD 82565 2013-01-21 01:01:19Z 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.1
+pkgver=0.2.2
pkgrel=1
pkgdesc="Adds DjVu support to zathura by using the djvulibre library"
arch=('i686' 'x86_64')
@@ -12,15 +12,14 @@ url="https://pwmt.org/projects/zathura/plugins/zathura-djvu/"
license=('custom')
depends=('djvulibre' 'zathura')
source=("https://pwmt.org/projects/zathura/plugins/download/zathura-djvu-$pkgver.tar.gz")
-md5sums=('c3525b43b74bb0777a2b3561f7dcde06')
+md5sums=('38344cb762e1f5b5fe66f6ef49ac173f')
build(){
- cd "${srcdir}/$pkgname-$pkgver"
- make
+ make -C "${srcdir}/$pkgname-$pkgver"
}
+
package(){
- cd "${srcdir}/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ make -C "${srcdir}/$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ install -Dm0644 "${srcdir}/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}