diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-11-24 13:57:22 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-11-24 13:57:22 -0500 |
commit | ea21ab0bf8c50bfc91010a67dc3348bf4e86f342 (patch) | |
tree | 86be9bcd1d5e64134a6d2a5fbf20aaa3b54c5ad8 /libre | |
parent | 1ec0e9423f0f620ffd579f898548f56b2ce367e7 (diff) | |
download | abslibre-ea21ab0bf8c50bfc91010a67dc3348bf4e86f342.tar.gz abslibre-ea21ab0bf8c50bfc91010a67dc3348bf4e86f342.tar.bz2 abslibre-ea21ab0bf8c50bfc91010a67dc3348bf4e86f342.zip |
cowsay: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r-- | libre/cowsay/PKGBUILD | 32 | ||||
-rw-r--r-- | libre/cowsay/cowsay.patch | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/libre/cowsay/PKGBUILD b/libre/cowsay/PKGBUILD new file mode 100644 index 000000000..77689ca14 --- /dev/null +++ b/libre/cowsay/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer (Arch): Guillaume ALAUX <guillaume@archlinux.org> +# Contributor (Arch): Eric Belanger <eric@archlinux.org> +# Contributor (Arch): Sarah Hay <sarahhay@mb.sympatico.ca> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +pkgname=cowsay +pkgver=3.03 +pkgrel=9.parabola1 +pkgdesc='Configurable talking cow (and a few other creatures)' +arch=('any') +url='http://www.nog.net/~tony/warez/' +license=('PerlArtistic' 'GPL') +depends=('perl') +#http://www.nog.net/~tony/warez/${pkgname}-${pkgver}.tar.gz +source=(http://http.debian.net/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}+dfsg1.orig.tar.gz + cowsay.patch) +sha256sums=('10bae895d9afb2d720d2211db58f396352b00fe1386c369ca3608cbf6497b839' + 'aa88442a31f01ffe5884b3ae974ed1ced23d860859d7f2234cdcd3ac437fc17f') + +build() { + cd ${srcdir}/${pkgname}-${pkgver}+dfsg1 + patch -p1 -i $srcdir/cowsay.patch + sed -i 's|/man/|/share/man/|' install.sh +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}+dfsg1 + echo "${pkgdir}/usr" | ./install.sh + # This one is not a valid '.cow' file + rm ${pkgdir}/usr/share/cows/mech-and-cow +} diff --git a/libre/cowsay/cowsay.patch b/libre/cowsay/cowsay.patch new file mode 100644 index 000000000..299d52895 --- /dev/null +++ b/libre/cowsay/cowsay.patch @@ -0,0 +1,11 @@ +--- cowsay-3.03/install.sh 1999-11-01 21:19:21.000000000 +0100 ++++ cowsay-3.03-new/install.sh 2003-08-15 17:14:23.000000000 +0200 +@@ -67,7 +67,7 @@ + echo Okay, time to install this puppy. + + echo s,%BANGPERL%,!$usethisperl,\; > install.pl +-echo s,%PREFIX%,$PREFIX,\; >> install.pl ++echo s,%PREFIX%,/usr,\; >> install.pl + set -x + mkdir -p $PREFIX/bin || (mkdir $PREFIX; mkdir $PREFIX/bin) + $usethisperl -p install.pl cowsay > $PREFIX/bin/cowsay |