26 lines
707 B
Bash
26 lines
707 B
Bash
# Template file for 'cowsay'
|
|
pkgname=cowsay
|
|
version=3.03+dfsg1
|
|
revision=1
|
|
depends="perl"
|
|
short_desc="Configurable speaking/thinking cow (and a bit more)"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="Artistic, GPL-1"
|
|
homepage="https://packages.debian.org/sid/cowsay"
|
|
distfiles="http://http.debian.net/debian/pool/main/c/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
|
checksum=10bae895d9afb2d720d2211db58f396352b00fe1386c369ca3608cbf6497b839
|
|
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
|
|
vlicense LICENSE
|
|
}
|