# $Id: PKGBUILD 60106 2011-12-05 11:21:55Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: ML pkgname=zathura pkgver=0.0.8.5 pkgrel=4 pkgdesc="a PDF viewer" arch=('i686' 'x86_64') url="http://pwmt.org/projects/zathura/" license=('custom') depends=('poppler-glib' 'gtk2' 'cairo') makedepends=('docutils') install=zathura.install DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u' 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u') source=(https://pwmt.org/download/zathura-$pkgver.tar.gz) md5sums=('52e0c3b3917c7feaecba98cff8435b90') build() { cd $srcdir/zathura-$pkgver make } package() { cd $srcdir/zathura-$pkgver make install DESTDIR=$pkgdir install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" mkdir -p $pkgdir/etc/bash_completion.d/ echo "complete -f -X '!*.[pf]df' zathura" >$pkgdir/etc/bash_completion.d/zathura }