diff options
author | CelestialWalrus | 2015-07-16 05:02:08 -0400 |
---|---|---|
committer | CelestialWalrus | 2015-07-16 05:02:08 -0400 |
commit | a5126562a31dfe2b93dae2facf605c23eaffc1ff (patch) | |
tree | 5aaf3a67fc25d6e87a4503ab4d881e904a550abc | |
download | aur-a5126562a31dfe2b93dae2facf605c23eaffc1ff.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 16 | ||||
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 66 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..d5efedd1653d --- /dev/null +++ b/.AURINFO @@ -0,0 +1,16 @@ +pkgbase = toilet-fonts + pkgdesc = Additional asciiart fonts for toilet (adapted from figlet-fonts) + pkgver = 1.0 + pkgrel = 2 + url = http://www.figlet.org/fontdb.cgi + arch = any + license = GPL + depends = toilet + optdepends = jave: create cool ascii-art and figlets + source = ftp://ftp.figlet.org/pub/figlet/fonts/ours.tar.gz + source = ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz + source = ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz + source = ftp://ftp.figlet.org/pub/figlet/fonts/ms-dos.tar.gz + +pkgname = toilet-fonts + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..84ce6af71cb2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = toilet-fonts + pkgdesc = Additional asciiart fonts for toilet (adapted from figlet-fonts) + pkgver = 1.0 + pkgrel = 2 + url = http://www.figlet.org/fontdb.cgi + arch = any + license = GPL + depends = toilet + optdepends = jave: create cool ascii-art and figlets + source = ftp://ftp.figlet.org/pub/figlet/fonts/ours.tar.gz + source = ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz + source = ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz + source = ftp://ftp.figlet.org/pub/figlet/fonts/ms-dos.tar.gz + sha256sums = 10184c883faa63e91c8c7d99f100fe2f76195221ff8863d29c1beef88f666e69 + sha256sums = 2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8 + sha256sums = e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a + sha256sums = d3678a98b3b058ae4ded8525f51a1c53b3c6e6833793cf7cf98fcd9550ed7e70 + +pkgname = toilet-fonts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d872f64f2555 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: lucy <lucy@luz.lu> + +pkgname=toilet-fonts +pkgver=1.0 +pkgrel=2 +pkgdesc="Additional asciiart fonts for toilet (adapted from figlet-fonts)" +arch=('any') +license=('GPL') +url="http://www.figlet.org/fontdb.cgi" +depends=(toilet) +optdepends=('jave: create cool ascii-art and figlets') +source=('ftp://ftp.figlet.org/pub/figlet/fonts/ours.tar.gz' + 'ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz' + 'ftp://ftp.figlet.org/pub/figlet/fonts/international.tar.gz' + 'ftp://ftp.figlet.org/pub/figlet/fonts/ms-dos.tar.gz') +sha256sums=('10184c883faa63e91c8c7d99f100fe2f76195221ff8863d29c1beef88f666e69' + '2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8' + 'e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a' + 'd3678a98b3b058ae4ded8525f51a1c53b3c6e6833793cf7cf98fcd9550ed7e70') + +package() { + install -d -m755 "$pkgdir/usr/share/figlet/" + find "$srcdir" -iname '*.flf' | + while IFS='' read target; do + dest="$pkgdir/usr/share/figlet/$(basename "$target")" + if [[ ! -e "$dest" ]]; then + install -T -m644 "$target" "$dest" + fi + done +} |