cowsay: update to 3.8.4.

switched to what seems to be the active and widely-accepted fork.

licence change based on
https://github.com/cowsay-org/cowsay/blob/main/doc-project/Licensing.md
This commit is contained in:
classabbyamp
2026-05-19 17:16:31 -04:00
committed by classabbyamp
parent 972da74105
commit f5f7c521c9
+7 -16
View File
@@ -1,24 +1,15 @@
# Template file for 'cowsay'
pkgname=cowsay
version=3.04
revision=4
version=3.8.4
revision=1
depends="perl"
short_desc="Configurable speaking/thinking cow (and a bit more)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/tnalpgge/rank-amateur-cowsay"
distfiles="https://github.com/tnalpgge/rank-amateur-cowsay/archive/${pkgname}-${version}.tar.gz"
checksum=d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b
post_extract() {
sed -i -e 's,%BANGPERL%,!/usr/bin/perl,g' -e 's,%PREFIX%,/usr,g' \
cowsay cowsay.1
}
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
homepage="https://cowsay.diamonds"
distfiles="https://github.com/cowsay-org/cowsay/archive/refs/tags/v${version}.tar.gz"
checksum=c15bc10712835d3a9bcda780dc9453362567bf48d1185905dc7ef2334d79aadd
do_install() {
vbin cowsay
ln -s cowsay ${DESTDIR}/usr/bin/cowthink
vman cowsay.1
vcopy cows usr/share
rm "${DESTDIR}"/usr/share/cows/{sodomized,telebears}.cow
make install DESTDIR="$DESTDIR" prefix=/usr
}