void-packages/srcpkgs/zutils/template

27 lines
738 B
Bash

# Template file for 'zutils'
pkgname=zutils
version=1.13
revision=1
build_style=gnu-configure
hostmakedepends="lzip"
depends="bzip2 gzip lzip xz zstd"
conf_files="/etc/zutils.conf"
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=957d03c6c1b6b68c94e313ff9633bf6c7e32ab50e150ab67cc244b0ccd2a4c17
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
vdoc "${FILESDIR}/README.voidlinux"
}