38 lines
1 KiB
Bash
38 lines
1 KiB
Bash
# Template file for 'zathura'
|
|
pkgname=zathura
|
|
version=0.3.8
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
# COLOR=0 to avoid "tput not found" spam in the build output
|
|
make_build_args="COLOR=0"
|
|
make_install_args="COLOR=0"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="girara-devel sqlite-devel file-devel zlib-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.gz"
|
|
checksum=46bf8558f7ff12efe11bf5d19e6e223aac97126061677199d0c3d53dfcbce537
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" glib-devel"
|
|
fi
|
|
|
|
pre_build() {
|
|
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
|
|
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|