diff options
Diffstat (limited to 'community-staging/zathura')
-rw-r--r-- | community-staging/zathura/PKGBUILD | 29 | ||||
-rw-r--r-- | community-staging/zathura/zathura.install | 13 |
2 files changed, 42 insertions, 0 deletions
diff --git a/community-staging/zathura/PKGBUILD b/community-staging/zathura/PKGBUILD new file mode 100644 index 000000000..2110282d5 --- /dev/null +++ b/community-staging/zathura/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 56321 2011-10-05 15:47:17Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: ML <neldoreth> + +pkgname=zathura +pkgver=0.0.8.4 +pkgrel=3 +pkgdesc="a PDF viewer" +arch=('i686' 'x86_64') +url="http://zathura.pwmt.org" +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=('e3a7f82401059e591ed549d615f53ddd') + +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" +} diff --git a/community-staging/zathura/zathura.install b/community-staging/zathura/zathura.install new file mode 100644 index 000000000..f450cf9b8 --- /dev/null +++ b/community-staging/zathura/zathura.install @@ -0,0 +1,13 @@ +post_install() { + which gtk-update-icon-cache >/dev/null && \ + [ -d usr/share/icons/hicolor ] && \ + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |