void-packages/srcpkgs/zathura-djvu/template

23 lines
648 B
Bash

# Template file for 'zathura-djvu'
pkgname=zathura-djvu
version=0.2.5
revision=1
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=08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}