1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
8 pkgdesc="Additional asciiart fonts for figlet"
11 url="http://www.figlet.org/fontdb.cgi"
13 optdepends=('jave: create cool ascii-art and figlets')
15 ftp://ftp.figlet.org/pub/figlet/fonts/ours.tar.gz
16 ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz
17 ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz
18 ftp://ftp.figlet.org/pub/figlet/fonts/ms-dos.tar.gz)
19 md5sums=('ecfc312b626df0d04936200d074d2508'
20 '6e2dec4499f7a7fe178522e02e0b6cd1'
21 'b2d53f7e251014adcdb4d407c47f90ef'
22 '49aa57ab989e8d952be037414b0bbbe4')
24 msg 'Copying figlet fonts...'
25 mkdir -p ${pkgdir}/usr/share/figlet/fonts/
26 find ${srcdir} | grep -i flf$ | while read font; do
28 cp -f "$font" ${pkgdir}/usr/share/figlet/fonts/
31 msg 'Removing figlets which are already in official distribution...'
32 ls -1 ${srcdir}/ours/ | while read i; do
33 rm -rf "$pkgdir/usr/share/figlet/fonts/$i";
36 msg 'Installing figlet-gallery script...'
37 mkdir -p ${pkgdir}/usr/bin/
39 ls /usr/share/figlet/fonts/*.flf | cut -d . -f 1 | while read i; do echo "$i.flf:"; figlet -t -f "$i" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890; done | less
40 ' > ${pkgdir}/usr/bin/figlet-gallery
42 chmod -R 755 ${pkgdir}/