36 lines
1 KiB
Bash
36 lines
1 KiB
Bash
# Template file for 'zathura'
|
|
pkgname=zathura
|
|
version=0.4.9
|
|
revision=1
|
|
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://git.pwmt.org/pwmt/zathura/"
|
|
distfiles="https://git.pwmt.org/pwmt/${pkgname}/-/archive/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=82235cbc89899421fca98477265626f2149df7d072740f0360550cc8d4e449d6
|
|
|
|
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
|
|
}
|
|
}
|