toilet: don't include file in hostmakedepends
This commit is contained in:
parent
2dbafd54b2
commit
0c9b65dfbd
|
@ -1,23 +1,23 @@
|
||||||
# Template build file for 'toilet'
|
# Template file for 'toilet'
|
||||||
pkgname=toilet
|
pkgname=toilet
|
||||||
version=0.3
|
version=0.3
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="a program for making large letters out of ordinary text"
|
hostmakedepends="pkg-config unzip"
|
||||||
|
makedepends="libcaca-devel"
|
||||||
|
short_desc="Program for making large letters out of ordinary text"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="WTFPL"
|
license="WTFPL"
|
||||||
homepage="http://caca.zoy.org/wiki/toilet"
|
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"
|
distfiles="http://caca.zoy.org/raw-attachment/wiki/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de
|
checksum=89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de
|
||||||
|
|
||||||
post_install() {
|
post_extract() {
|
||||||
# Extract ZIP Files
|
find fonts |
|
||||||
|
file --mime-type --files-from - |
|
||||||
for i in $DESTDIR/usr/share/figlet/*.tlf; do
|
awk -F: '/application\/zip$/ {print $1}' |
|
||||||
file --mime-type -b -- "$i" | grep -xF "application/zip" || continue
|
while read _file; do
|
||||||
unzip -p -- "$i" > "${i}.out"
|
unzip -p -- "$_file" >"$_file.out"
|
||||||
mv ${i}.out ${i}
|
mv "$_file.out" "$_file"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue