aboutsummaryrefslogtreecommitdiffstats
path: root/testing/toilet-font/APKBUILD
blob: 1c16154dcde8ae94d24b993dbd4d24d6473d8007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: z3bra <willy at mailoo dot org>
# Maintainer:
pkgname=toilet-font
pkgver=1.0
pkgrel=0
pkgdesc="Additional asciiart fonts for toilet (adapted from figlet-fonts)"
url="http://www.figlet.org/fontdb.cgi"
arch="all"
license="GPL"
depends="toilet"
arch="noarch"
license="GPL"
depends="toilet"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=
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
        "

package() {
	find "$srcdir" -iname '*.flf' |
	while ifs='' read target; do
		dest="$pkgdir/usr/share/figlet/$(basename "$target")"
		if [[ ! -e "$dest" ]]; then
			install -Dm644 "$target" "$dest"
		fi
	done
}

md5sums="ecfc312b626df0d04936200d074d2508  ours.tar.gz
6e2dec4499f7a7fe178522e02e0b6cd1  contributed.tar.gz
b2d53f7e251014adcdb4d407c47f90ef  international.tar.gz
49aa57ab989e8d952be037414b0bbbe4  ms-dos.tar.gz"
sha256sums="10184c883faa63e91c8c7d99f100fe2f76195221ff8863d29c1beef88f666e69  ours.tar.gz
2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8  contributed.tar.gz
e6493f51c96f8671c29ab879a533c50b31ade681acfb59e50bae6b765e70c65a  international.tar.gz
d3678a98b3b058ae4ded8525f51a1c53b3c6e6833793cf7cf98fcd9550ed7e70  ms-dos.tar.gz"
sha512sums="a5bb4b650246c201c89d019b354e5dafff040552d4bfdfac2fe901fa413ccf768db4b58c397eb850066f0a8c7d876c46a69b55927a2bd22c3b918cf6d397b1e4  ours.tar.gz
aa2acc332c4a8916acd4911a8779ac394bc610dda1af9bfd3e8e9713dace15a1115c360abdf83589608302b529f151f6221f0e5a1e9ad0465de5bd877dcb4943  contributed.tar.gz
5480ccf5aef3147e2c24cca486a703ba27c03ce4b259a3f811a2aa6ebb2ff7510919438e2d4289a1a8d55a2e3b92451e7b35a4c18f6303dc51f9ee7e4fbc0657  international.tar.gz
8824b21b054be50fb90e4a80e6f1ca554784a3884ac9c9e4104635a9d7c72b57d98e4070687ecd83cfe9c85cd3969eb1f24a1a3a05e49a2822a16a9f207decb9  ms-dos.tar.gz"