summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sand2018-04-22 09:05:19 +0200
committerMartin Sand2018-04-22 09:11:38 +0200
commit5142ed5b8d8226126637e75094b7c6134d20ab22 (patch)
treed316355a2eeb8095bfee29f33f92755ac3c44e53
downloadaur-5142ed5b8d8226126637e75094b7c6134d20ab22.tar.gz
Initial submission of Kids TTF Font
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD22
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c97b003f13e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ttf-kids
+ pkgdesc = TrueType Font Kids
+ pkgver = 001.003
+ pkgrel = 1
+ url = https://fonts2u.com/kids.font
+ arch = any
+ license = free
+ depends = fontconfig
+ depends = xorg-fonts-encodings
+ depends = xorg-font-utils
+ provides = ttf-font
+ source = http://ttfonts.net/sfonts/2/21594_Kids.ttf
+ md5sums = d51d8a2663404cc525e9ace46915a88a
+
+pkgname = ttf-kids
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..33c3285838d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Martin Sand <martin.sand.dev@gmail.com>
+
+pkgname=ttf-kids
+pkgver=001.003
+pkgrel=1
+pkgdesc="TrueType Font Kids"
+url="https://fonts2u.com/kids.font"
+arch=('any')
+license=('free')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+source=('http://ttfonts.net/sfonts/2/21594_Kids.ttf')
+provides=('ttf-font')
+md5sums=('d51d8a2663404cc525e9ace46915a88a')
+
+package() {
+ cd $srcdir
+
+ for i in *.ttf; do
+ local destname="$(echo "$i" | sed -E 's|-[[:digit:].]+\.ttf$|.ttf|')"
+ install -Dm 644 "$i" "${pkgdir}/usr/share/fonts/TTF/${destname}"
+ done
+}