2016-03-08 17:09:10 +01:00
|
|
|
# Template file for 'cowsay'
|
|
|
|
pkgname=cowsay
|
2016-06-26 18:36:13 +02:00
|
|
|
version=3.04
|
2016-03-08 17:09:10 +01:00
|
|
|
revision=1
|
2016-06-26 18:36:13 +02:00
|
|
|
wrksrc="rank-amateur-cowsay-${pkgname}-${version}"
|
2016-03-08 17:09:10 +01:00
|
|
|
depends="perl"
|
|
|
|
short_desc="Configurable speaking/thinking cow (and a bit more)"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
2016-06-26 18:36:13 +02:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://github.com/tnalpgge/rank-amateur-cowsay"
|
|
|
|
distfiles="https://github.com/tnalpgge/rank-amateur-cowsay/archive/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b
|
2016-03-08 17:09:10 +01:00
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i -e 's,%BANGPERL%,!/usr/bin/perl,g' -e 's,%PREFIX%,/usr,g' \
|
|
|
|
cowsay cowsay.1
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin cowsay
|
|
|
|
ln -s cowsay ${DESTDIR}/usr/bin/cowthink
|
|
|
|
vman cowsay.1
|
|
|
|
vcopy cows usr/share
|
|
|
|
}
|