void-packages/srcpkgs/zathura-djvu/template
2016-08-15 17:50:41 +02:00

22 lines
641 B
Bash

# Template file for 'zathura-djvu'
pkgname=zathura-djvu
version=0.2.5
revision=1
build_style=gnu-makefile
maintainer="lemmi <lemmi@nerd2nerd.org>"
hostmakedepends="pkg-config"
makedepends="djvulibre-devel zathura-devel"
license="zlib"
homepage="http://pwmt.org/projects/zathura-djvu/"
short_desc="DjVu support for zathura"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}