dos2unix: fix build mechanism and pie

This commit is contained in:
Toyam Cox 2016-05-24 11:00:24 -04:00
parent 2508b80205
commit b5e6c32622

View file

@ -1,7 +1,8 @@
# Template file for 'dos2unix'
pkgname=dos2unix
version=7.3.3
revision=1
revision=2
build_style=gnu-makefile
maintainer="Dominik Honnef <dominik@honnef.co>"
license="2-clause-BSD"
homepage="http://waterlan.home.xs4all.nl/dos2unix.html"
@ -9,12 +10,7 @@ short_desc="Text file format converter"
distfiles="http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=5c910aea2eae96663c67e87627998c4fe3cded403be5819b4c190e56c82ff0fb
do_build() {
make prefix=${DESTDIR}/usr
}
do_install() {
make prefix=${DESTDIR}/usr install
post_install() {
rm -rf ${DESTDIR}/usr/share/doc/${pkgname}-${version}
vlicense COPYING.txt