From cc7cb156429c66d93a8f8fa366b7d2f5a8a07fe2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 11 May 2016 01:52:52 +0200 Subject: [PATCH] banner: actually include the binary Close #4172. --- srcpkgs/banner/template | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/srcpkgs/banner/template b/srcpkgs/banner/template index 37bfbe9c890..45324e87437 100644 --- a/srcpkgs/banner/template +++ b/srcpkgs/banner/template @@ -1,10 +1,9 @@ # Template file for 'banner' pkgname=banner version=1.2 -revision=3 +revision=4 conflicts="bsd-games>=0" build_style=gnu-configure -hostmakedepends="ed" short_desc="Prints ASCII banners" maintainer="allan " license="GPL-2" @@ -13,18 +12,10 @@ distfiles="http://www.moria.de/~michael/banner/banner-${version}.tar.gz" checksum=84828f417e6139733cff98c8bb4765a70070352ab7d471ecd1f54d8fa8a9f746 pre_configure() { - ed configure <<-EDIT - 2438a - if ! test "\$cross_compiling"; then - . - 2497a - fi - . - w - q - EDIT + sed -i configure \ + -e '2439i if ! test "$cross_compiling"; then' \ + -e '2497a fi' } - do_install() { - make prefix=$DESTDIR/usr/ MANDIR=$DESTDIR/usr/share/man install + make prefix=${DESTDIR}/usr BINDIR=${DESTDIR}/usr/bin MANDIR=${DESTDIR}/usr/share/man install }