void-packages/srcpkgs/dos2unix/template

20 lines
550 B
Bash

# Template file for 'dos2unix'
pkgname=dos2unix
version=7.2.2
revision=1
maintainer="Dominik Honnef <dominik@honnef.co>"
license="2-clause-BSD"
homepage="http://waterlan.home.xs4all.nl/dos2unix.html"
short_desc="Text file format converter"
distfiles="http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=9c23907296267fa4ea66e1ee03eb6f6229cf7b64968318d00a77076ae89c2612
do_build() {
make prefix=${DESTDIR}/usr
}
do_install() {
make prefix=${DESTDIR}/usr install
rm -rf ${DESTDIR}/usr/share/doc/${pkgname}-${version}
}