25 lines
729 B
Bash
25 lines
729 B
Bash
# 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="Orphaned <orphan@voidlinux.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
|
|
}
|