void-packages/srcpkgs/toilet/template

24 lines
701 B
Bash

# Template file for 'toilet'
pkgname=toilet
version=0.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config unzip"
makedepends="libcaca-devel"
short_desc="Program for making large letters out of ordinary text"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="WTFPL"
homepage="http://caca.zoy.org/wiki/toilet"
distfiles="http://caca.zoy.org/raw-attachment/wiki/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de
post_extract() {
find fonts |
file --mime-type --files-from - |
awk -F: '/application\/zip$/ {print $1}' |
while read _file; do
unzip -p -- "$_file" >"$_file.out"
mv "$_file.out" "$_file"
done
}