Created
June 27, 2013 19:39
-
-
Save shizeeg/5879672 to your computer and use it in GitHub Desktop.
zathura lightweight document viewer. Arch Linux PKGBUILD.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Moritz Lipp <mlq@pwmt.org> | |
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com> | |
pkgname=zathura-git | |
_gitname='zathura' | |
pkgver=20130626 | |
pkgrel=1 | |
pkgdesc="a document viewer" | |
arch=('i686' 'x86_64') | |
url="http://pwmt.org/projects/zathura" | |
license=('custom') | |
depends=('girara-gtk2' 'gtk2>=2.18.6' 'cairo>=1.8.8') | |
makedepends=('git' 'python-docutils' 'intltool') | |
conflicts=('zathura') | |
provides=('zathura') | |
optdepends=( | |
'zathura-pdf-poppler: PDF support by using poppler' | |
'zathura-pdf-mupdf: PDF support by using mupdf' | |
'zathura-djvu: djvu support by using djvulibre' | |
'zathura-ps: PostSctipt support by using libspectre' | |
) | |
source=('zathura::git+https://github.com/shizeeg/zathura.git') | |
md5sums=('SKIP') | |
pkgver() { | |
cd "${_gitname}" | |
echo $(git log -1 --date=short | grep Date | sed 's|[^0-9]||g') | |
} | |
build() { | |
cd "${_gitname}" | |
make | |
} | |
package() { | |
cd "${srcdir}/${_gitname}" | |
make DESTDIR="${pkgdir}/" install | |
install -D -m664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment