void-packages/srcpkgs/ponysay/template
Đoàn Trần Công Danh 7bc9efad3c ponysay: remove noarch
2020-11-29 08:30:22 +07:00

21 lines
660 B
Bash

# Template file for 'ponysay'
pkgname=ponysay
version=3.0.3
revision=5
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
}