New package: toilet-0.3

This commit is contained in:
Enno Boland 2014-06-23 18:14:12 +02:00
parent 1fc8ae80cf
commit 1fbe2a9ba5

23
srcpkgs/toilet/template Normal file
View File

@ -0,0 +1,23 @@
# Template build file for 'toilet'
pkgname=toilet
version=0.3
revision=1
build_style=gnu-configure
short_desc="a program for making large letters out of ordinary text"
maintainer="Enno Boland <eb@s01.de>"
license="WTFPL"
homepage="http://caca.zoy.org/wiki/toilet"
hostmakedepends="pkg-config file unzip"
makedepends="libcaca-devel"
distfiles="http://caca.zoy.org/raw-attachment/wiki/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de
post_install() {
# Extract ZIP Files
for i in $DESTDIR/usr/share/figlet/*.tlf; do
file --mime-type -b -- "$i" | grep -xF "application/zip" || continue
unzip -p -- "$i" > "${i}.out"
mv ${i}.out ${i}
done
}