diff options
author | FadeMind | 2015-06-08 12:11:32 +0200 |
---|---|---|
committer | FadeMind | 2015-06-08 12:11:32 +0200 |
commit | 48343f41bd9472fb27b15d81fa1adadaf466f72d (patch) | |
tree | bb6531cddbd3f27c898a14968e93fdc844aa23e6 | |
download | aur-48343f41bd9472fb27b15d81fa1adadaf466f72d.tar.gz |
1.0-3
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | figlet-gallery | 2 |
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c1bf1804d427 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = figlet-fonts + pkgdesc = Additional asciiart fonts for figlet + pkgver = 1.0 + pkgrel = 3 + url = http://www.figlet.org/fontdb.cgi + arch = any + license = GPL + depends = figlet + optdepends = jave: create cool ascii-art and figlets + source = ours.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/ours.tar.gz + source = contributed.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz + source = international.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz + source = ms-dos.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/ms-dos.tar.gz + source = figlet-gallery + sha256sums = 10184c883faa63e91c8c7d99f100fe2f76195221ff8863d29c1beef88f666e69 + sha256sums = 2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8 + sha256sums = e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a + sha256sums = d3678a98b3b058ae4ded8525f51a1c53b3c6e6833793cf7cf98fcd9550ed7e70 + sha256sums = 0021d92bfea79921402425feb014289520e604b7f9f1a3838df994facde0f9ec + +pkgname = figlet-fonts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..64222c91f6bc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: FadeMind <fademind@gmail.com> +# Contributor: Thomas Mudrunka <harvie@@email..cz> +# Contributor: Thomas Mudrunka <harvie@@email..cz> +# You can also contact me on http://blog.harvie.cz/ + +pkgname=figlet-fonts +pkgver=1.0 #23.03.2014 +pkgrel=3 +pkgdesc="Additional asciiart fonts for figlet" +arch=('any') +license=('GPL') +url="http://www.figlet.org/fontdb.cgi" +depends=('figlet') +optdepends=('jave: create cool ascii-art and figlets') +source=("ours.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/ours.tar.gz" + "contributed.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz" + "international.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz" + "ms-dos.tar.gz::ftp://ftp.figlet.org/pub/figlet/fonts/ms-dos.tar.gz" + 'figlet-gallery') +sha256sums=('10184c883faa63e91c8c7d99f100fe2f76195221ff8863d29c1beef88f666e69' + '2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8' + 'e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a' + 'd3678a98b3b058ae4ded8525f51a1c53b3c6e6833793cf7cf98fcd9550ed7e70' + '0021d92bfea79921402425feb014289520e604b7f9f1a3838df994facde0f9ec') + +package() { + msg 'Copying figlet fonts...' + install -dm755 ${pkgdir}/usr/share/figlet/fonts/ + find ${srcdir} | grep -i flf$ | while read font; do + msg2 "${font##*/}"; + cp -f "$font" ${pkgdir}/usr/share/figlet/fonts/ + done; + + msg 'Removing figlets which are already in official distribution...' + ls -1 ${srcdir}/ours/ | while read i; do + rm -rf "$pkgdir/usr/share/figlet/fonts/$i"; + done; + + msg 'Installing figlet-gallery script...' + install -Dm755 ${srcdir}/figlet-gallery ${pkgdir}/usr/bin/figlet-gallery + find ${pkgdir}/usr/share/figlet/fonts -type f -exec chmod 644 {} \; + find ${pkgdir}/usr/share/figlet/fonts -type d -exec chmod 755 {} \; +} diff --git a/figlet-gallery b/figlet-gallery new file mode 100644 index 000000000000..b2ad68f91686 --- /dev/null +++ b/figlet-gallery @@ -0,0 +1,2 @@ +#!/bin/sh +ls /usr/share/figlet/fonts/*.flf | cut -d . -f 1 | while read i; do echo "$i.flf:"; figlet -t -f "$i" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890; done | less |