void-packages/srcpkgs/zutils/template

26 lines
695 B
Bash

# Template file for 'zutils'
pkgname=zutils
version=1.5
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="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://www.nongnu.org/zutils/zutils.html"
distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=0ea5aff71da22e967cd3508e2a99a60155d8df573d623cdc480476364ae708b2
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
}