void-packages/srcpkgs/dos2unix/template

20 lines
550 B
Bash

# Template file for 'dos2unix'
pkgname=dos2unix
version=7.2.3
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=8039ea97a9fc3b0bffed0218099aeb078ebb550127fa6c10e2647aad52669c83
do_build() {
make prefix=${DESTDIR}/usr
}
do_install() {
make prefix=${DESTDIR}/usr install
rm -rf ${DESTDIR}/usr/share/doc/${pkgname}-${version}
}