void-packages/srcpkgs/zathura-djvu/template

24 lines
659 B
Bash

# Template file for 'zathura-djvu'
pkgname=zathura-djvu
version=0.2.7
revision=2
build_style=gnu-makefile
maintainer="lemmi <lemmi@nerd2nerd.org>"
hostmakedepends="pkg-config"
makedepends="djvulibre-devel zathura-devel"
depends="zathura"
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=0d6e9470abfa3a2a67c9acf2f6fcc261e7c089d5a810c27a410c8372bd6e6ee9
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}