void-packages/srcpkgs/zathura-cb/template

24 lines
660 B
Bash

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