void-packages/srcpkgs/zathura-ps/template

24 lines
660 B
Bash

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