aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic Fung <domokun997@gmail.com>2020-03-25 17:27:17 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-03-25 17:27:17 +0000
commit550890772bc97368e9cf2a89862e470ba326fbf2 (patch)
treea1897db93111e8add0d46422046612b70a8ad5d4
parent07c1290817f7d9276c72afa3c19341a7ca54fc27 (diff)
downloadaports-550890772bc97368e9cf2a89862e470ba326fbf2.tar.gz
aports-550890772bc97368e9cf2a89862e470ba326fbf2.tar.bz2
aports-550890772bc97368e9cf2a89862e470ba326fbf2.tar.xz
testing/ttf-font-awesome-four: new aport
https://fontawesome.com/v4.7.0/ Completely free version of iconic font designed for Bootstrap
-rw-r--r--testing/ttf-font-awesome-4/APKBUILD24
-rw-r--r--testing/ttf-font-awesome-4/ttf-font-awesome-4.post-install4
2 files changed, 28 insertions, 0 deletions
diff --git a/testing/ttf-font-awesome-4/APKBUILD b/testing/ttf-font-awesome-4/APKBUILD
new file mode 100644
index 0000000000..3ced320325
--- /dev/null
+++ b/testing/ttf-font-awesome-4/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Dominic Fung <domokun997@gmail.com>
+# Maintainer: Dominic Fung <domokun997@gmail.com>
+pkgname=ttf-font-awesome-4
+_pkgname=Font-Awesome
+pkgver=4.7.0
+pkgrel=0
+pkgdesc="Completely free version of iconic font designed for Bootstrap"
+url="https://fontawesome.com/v4.7.0/"
+arch="noarch"
+license="CC"
+options="!check"
+depends="fontconfig mkfontdir mkfontscale"
+makedepends="font-util-dev"
+install="$pkgname.post-install"
+source="$pkgname-$pkgver.tar.gz::https://github.com/FortAwesome/$_pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+package() {
+ install -d "$pkgdir/usr/share/fonts/TTF"
+ install -d "$pkgdir/usr/share/fonts/X11/OTF"
+ install -m644 fonts/*.otf "$pkgdir/usr/share/fonts/X11/OTF/"
+ install -m644 fonts/*.ttf "$pkgdir/usr/share/fonts/TTF/"
+}
+sha512sums="913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d ttf-font-awesome-4-4.7.0.tar.gz"
diff --git a/testing/ttf-font-awesome-4/ttf-font-awesome-4.post-install b/testing/ttf-font-awesome-4/ttf-font-awesome-4.post-install
new file mode 100644
index 0000000000..984457d3e1
--- /dev/null
+++ b/testing/ttf-font-awesome-4/ttf-font-awesome-4.post-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+fc-cache -f > /dev/null
+mkfontscale /usr/share/fonts/TTF
+mkfontdir /usr/share/fonts/TTF