void-packages/srcpkgs/cowsay/template

26 lines
731 B
Bash
Raw Normal View History

2016-03-08 16:09:10 +00:00
# Template file for 'cowsay'
pkgname=cowsay
2016-06-26 16:36:13 +00:00
version=3.04
2016-03-08 16:09:10 +00:00
revision=1
2016-06-26 16:36:13 +00:00
wrksrc="rank-amateur-cowsay-${pkgname}-${version}"
2016-03-08 16:09:10 +00:00
depends="perl"
short_desc="Configurable speaking/thinking cow (and a bit more)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
2016-06-26 16:36:13 +00: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 16:09:10 +00: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
}