void-packages/srcpkgs/zathura-cb/template

23 lines
642 B
Bash

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