void-packages/srcpkgs/zathura/template

31 lines
864 B
Bash

# Template file for 'zathura'
pkgname=zathura
version=0.4.0
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=aa629259c6ac729e90abdda1b9b51854adaa6851192f08a55e63379500541ec8
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
}
}