From b5e6c326220c165d88335bbf24f3ec655e98e0c6 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Tue, 24 May 2016 11:00:24 -0400 Subject: [PATCH] dos2unix: fix build mechanism and pie --- srcpkgs/dos2unix/template | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/srcpkgs/dos2unix/template b/srcpkgs/dos2unix/template index 32c611eea23..0b36f4eabf7 100644 --- a/srcpkgs/dos2unix/template +++ b/srcpkgs/dos2unix/template @@ -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 " 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