# Template file for 'zutils'
pkgname=zutils
version=1.6
revision=1
build_style=gnu-configure
hostmakedepends="lzip"
depends="bzip2 gzip lzip xz"
conf_files="/etc/zutilsrc"
short_desc="Utilities to deal with compressed files transparently"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://www.nongnu.org/zutils/zutils.html"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=eb100df09e3ff1af2c2424cf2799946d742f8275ea281118f87ff14ed1b8d73a

post_install() {
	cd ${DESTDIR}/usr/bin
	for f in z*; do
		mv -v $f Z${f#z}
	done
	cd ${DESTDIR}/usr/share/man/man1
	for f in z*; do
		mv -v $f Z${f#z}
	done
}
