diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/zathura/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/zathura/PKGBUILD')
-rw-r--r-- | community/zathura/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/zathura/PKGBUILD b/community/zathura/PKGBUILD new file mode 100644 index 000000000..b40481192 --- /dev/null +++ b/community/zathura/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 90594 2013-05-13 10:03:23Z spupykin $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: ML <neldoreth> + +pkgname=zathura +pkgver=0.2.3 +pkgrel=1 +pkgdesc="a document viewer" +arch=('i686' 'x86_64') +url="http://pwmt.org/projects/zathura/" +license=('custom') +depends=('girara-gtk2' 'sqlite' 'desktop-file-utils') +makedepends=('python2-docutils') +optdepends=('zathura-djvu' 'zathura-pdf-poppler' 'zathura-pdf-mupdf' 'zathura-ps') +install=zathura.install +source=(http://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz + bash-completion) +md5sums=('c0265fd9fa64a37b01d729efb75a7c32' + 'cac20c37f0e77ba62a8138788f4ccabb') + +build() { + cd $srcdir/zathura-$pkgver + sed -i 's/rst2man/&2/' config.mk + make ZATHURA_GTK_VERSION=2 +} + +package() { + cd $srcdir/zathura-$pkgver + make install DESTDIR=$pkgdir ZATHURA_GTK_VERSION=2 + install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm0644 $srcdir/bash-completion $pkgdir/usr/share/bash-completion/completions/zathura +} |