void-packages/srcpkgs/zathura-djvu/template

23 lines
648 B
Bash

# Template file for 'zathura-djvu'
pkgname=zathura-djvu
version=0.2.4
revision=4
build_style=gnu-makefile
maintainer="Dominik Honnef <dominik@honnef.co>"
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=ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}