void-packages/srcpkgs/zathura-ps/template

23 lines
649 B
Bash

# Template file for 'zathura-ps'
pkgname=zathura-ps
version=0.2.3
revision=1
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=a9eef74b12aec87ac2c4309f12d0f9c83b228fe64a788ee46b2c3a7c91779aa3
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}