void-packages/srcpkgs/zathura/template

37 lines
1003 B
Bash

# Template file for 'zathura'
pkgname=zathura
version=0.4.7
revision=2
build_style=meson
configure_args="-Dsynctex=enabled"
hostmakedepends="pkg-config intltool python3-Sphinx desktop-file-utils
appstream-glib glib-devel librsvg-utils"
makedepends="girara-devel sqlite-devel file-devel zlib-devel libseccomp-devel
libglib-devel texlive-devel"
checkdepends="gettext-devel check-devel"
short_desc="Highly customizable and functional document viewer"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="Zlib"
homepage="https://pwmt.org/projects/zathura"
distfiles="${homepage}/download/zathura-${version}.tar.xz"
checksum=e012dbfe2b981b826553a9af8420d42a9c5d3387fbe14a5399ce94a2d374a1e7
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=enabled"
else
configure_args+=" -Dtests=disabled"
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
}
}