void-packages/srcpkgs/paps/template
2018-11-30 07:28:41 -02:00

27 lines
716 B
Bash

# Template file for 'paps'
pkgname=paps
version=0.6.8
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel"
short_desc="UTF-8 to PostScript converter via Pango"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-or-later"
homepage="http://paps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20
post_configure() {
sed -i 's/_LDFLAGS =/_LDADD +=/' src/Makefile
}
paps-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}