void-packages/srcpkgs/ponysay/template

23 lines
673 B
Bash

# Template file for 'ponysay'
pkgname=ponysay
version=3.0.3
revision=4
archs=noarch
hostmakedepends="python3 texinfo"
depends="python3"
short_desc="Pony rewrite of cowsay"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://erkin.github.com/ponysay/"
distfiles="https://github.com/erkin/${pkgname}/archive/${version}.tar.gz"
checksum=c382d7f299fa63667d1a4469e1ffbf10b6813dcd29e861de6be55e56dc52b28a
patch_args="-Np1"
do_install() {
python3 setup.py --prefix=/usr --dest-dir=$DESTDIR \
--freedom=partial --everything \
--with-pdf=/usr/share/doc/ponysay --without-pdf-compression \
--with-custom-env-python=python3 \
install
}