void-packages/srcpkgs/zutils/template
2020-07-01 17:44:47 +02:00

25 lines
692 B
Bash

# Template file for 'zutils'
pkgname=zutils
version=1.9
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.0-or-later"
homepage="http://www.nongnu.org/zutils/zutils.html"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=59d83cb129788528d311a0bb686e40986c6941b1ad90edc20a91878c39aa5c78
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
}