35 lines
983 B
Bash
35 lines
983 B
Bash
# Template file for 'zathura'
|
|
pkgname=zathura
|
|
version=0.3.4
|
|
revision=1
|
|
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="Dominik Honnef <dominik@honnef.co>"
|
|
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=52c4a3efc5843ce7c720ea7357667699363c809fd34ada4cb350d0e1031d0234
|
|
|
|
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
|
|
}
|
|
}
|