void-packages/srcpkgs/zathura-cb/template

23 lines
649 B
Bash

# Template file for 'zathura-cb'
pkgname=zathura-cb
version=0.1.4
revision=4
build_style=gnu-makefile
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config"
makedepends="zathura-devel libarchive-devel"
license="zlib"
homepage="http://pwmt.org/projects/zathura-cb/"
short_desc="Comic book support for zathura"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=f21cb140cce02b3ef8b23eff479a7f66285667ab47cdc099c10cd62eaf239626
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}