void-packages/srcpkgs/zathura/template
2018-03-20 00:23:27 +01:00

30 lines
864 B
Bash

# Template file for 'zathura'
pkgname=zathura
version=0.3.9
revision=1
build_style=meson
maintainer="lemmi <lemmi@nerd2nerd.org>"
hostmakedepends="pkg-config intltool python3-Sphinx desktop-file-utils appstream-glib"
makedepends="girara-devel sqlite-devel file-devel zlib-devel libseccomp-devel"
license="zlib"
homepage="http://pwmt.org/projects/zathura/installation/"
short_desc="A highly customizable and functional document viewer"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.xz"
checksum=2f74a5d288db1f46f1d704d69a9c7822985964e90b793636c6c80a25d29f097c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
fi
post_install() {
vlicense LICENSE
}
zathura-devel_package() {
depends="girara-devel cairo-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}