void-packages/srcpkgs/zathura-ps/template

24 lines
660 B
Bash

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