Merge pull request #1349 from allan/banner

New package: banner-1.2
This commit is contained in:
Juan RP 2015-04-20 11:42:27 +02:00
commit 13a17b813a
1 changed files with 29 additions and 0 deletions

29
srcpkgs/banner/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'banner'
pkgname=banner
version=1.2
revision=1
build_style=gnu-configure
hostmakedepends="ed"
short_desc="Prints ASCII banners"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2"
homepage="http://www.moria.de/~michael/banner/"
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
}
do_install() {
make prefix=$DESTDIR/usr/ MANDIR=$DESTDIR/usr/share/man install
}