void-packages/srcpkgs/libpgf/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

29 lines
800 B
Bash

# Template file for 'libpgf'
pkgname=libpgf
version=6.14.12
revision=3
wrksrc="$pkgname"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Library for working with PGF (Progresive Graphics File) images"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.libpgf.org"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}-latest/${pkgname}-src-${version}.tar.gz"
checksum=bda5995d80762966a25fca3f6a9821f4458657aa87d8631c014c166ae09258eb
pre_configure() {
sed -i 's/\r//g' configure.ac
./autogen.sh
}
libpgf-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}