void-packages/srcpkgs/zathura/template

34 lines
1.0 KiB
Bash

# Template file for 'zathura'
pkgname=zathura
version=0.4.3
revision=2
build_style=meson
configure_args="-Dsynctex=disabled -Dtests=disabled"
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"
short_desc="A highly customizable and functional document viewer"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="Zlib"
homepage="https://pwmt.org/projects/zathura/installation/"
changelog="https://pwmt.org/projects/zathura/changelog/${version}"
distfiles="https://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.xz"
checksum=7e12194426d709670e0f4b0b107c80dd21322881b57d4a0bf9a09998402ffd41
post_install() {
vmkdir usr/share/zsh/site-functions
mv ${DESTDIR}/usr/share/zsh/{vendor-completions,site-functions}/_zathura
vlicense LICENSE
}
zathura-devel_package() {
depends="girara-devel cairo-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}