void-packages/srcpkgs/figlet-fonts/template

24 lines
823 B
Bash

# Template file for 'figlet-fonts'
pkgname=figlet-fonts
version=20150508
revision=2
noarch=yes
create_wrksrc=yes
depends="figlet perl"
short_desc="Additional fonts for figlet"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://www.figlet.org/fontdb.cgi"
distfiles="ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz
ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz"
checksum="2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8
e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a"
do_install() {
vmkdir usr/share/figlet
cp contributed/*.flf contributed/bdffonts/*.flf $DESTDIR/usr/share/figlet
cp international/*.flf $DESTDIR/usr/share/figlet
vbin contributed/bdffonts/bdf2flf.pl bdf2flf
rm "${DESTDIR}/usr/share/figlet/banner.flf"
}