New package: xcftools-1.0.7

This commit is contained in:
Michael Gehring 2016-02-25 22:49:00 +01:00
parent 7fac67d0b3
commit cf9a6f588c
1 changed files with 25 additions and 0 deletions

25
srcpkgs/xcftools/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'xcftools'
pkgname=xcftools
version=1.0.7
revision=1
build_style=gnu-configure
hostmakedepends="perl"
makedepends="gettext-devel libpng-devel"
short_desc="A set of tools for extracting information from XCF files"
maintainer="Michael Gehring <mg@ebfe.org>"
license="Public domain"
homepage="http://henning.makholm.net/software"
distfiles="http://henning.makholm.net/xcftools/xcftools-${version}.tar.gz"
checksum=1ebf6d8405348600bc551712d9e4f7c33cc83e416804709f68d0700afde920a6
post_extract() {
sed -i 's/png_voidp_NULL/NULL/' xcf2png.c
sed -i 's/png_error_ptr_NULL/NULL/' xcf2png.c
sed -i 's/-lpng \$\^/\$\^ -lpng16/' Makefile.in
sed -n '62,$p' README > LICENSE
}
post_install() {
vlicense LICENSE
}