void-packages/srcpkgs/zathura-ps/template

23 lines
649 B
Bash

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