void-packages/srcpkgs/dos2unix/template

20 lines
550 B
Bash

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