32 lines
942 B
Bash
32 lines
942 B
Bash
# Template file for 'zathura'
|
|
pkgname=zathura
|
|
version=0.4.1
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config intltool python3-Sphinx desktop-file-utils appstream-glib glib-devel"
|
|
makedepends="girara-devel sqlite-devel file-devel zlib-devel libseccomp-devel"
|
|
short_desc="A highly customizable and functional document viewer"
|
|
license="Zlib"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
homepage="http://pwmt.org/projects/zathura/installation/"
|
|
changelog="https://pwmt.org/projects/zathura/changelog/${version}"
|
|
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.xz"
|
|
checksum=d6f56bf6e7e05d2e91213287c7aea21481c44521b622f9e9ec06a886f51dd9fe
|
|
|
|
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
|
|
}
|
|
}
|