#Packager: Frédéric Galusik <fredg~at~salixos~dot~org>

pkgname=zathura
pkgver=0.0.8.4
pkgrel=1fg
#arch=noarch
source=("https://pwmt.org/download/$pkgname-$pkgver.tar.gz"
 "zathura.png")
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver
docs=("readme" "license")
url=http://pwmt.org/projects/zathura

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"zathura (a lightweight PDF viewer)"
"zathura is a highly customizable and functional PDF viewer based on"
"the poppler rendering library and the gtk+ toolkit. The idea behind"
"zathura is an application that provides a minimalistic and space"
"saving interface as well as an easy usage that mainly focuses on"
"keyboard interaction."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg \
                 PREFIX=/usr \
                 MANPREFIX=/usr/man

	install -Dm 644 $startdir/src/zathura.png \
		$startdir/pkg/usr/share/icons/hicolor/48x48/apps/zathura.png
}