aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ttf-google-opensans/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ttf-google-opensans/APKBUILD')
-rw-r--r--testing/ttf-google-opensans/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/ttf-google-opensans/APKBUILD b/testing/ttf-google-opensans/APKBUILD
new file mode 100644
index 0000000000..e3e91b29f3
--- /dev/null
+++ b/testing/ttf-google-opensans/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname="ttf-google-opensans"
+pkgver="20180610"
+pkgrel=0
+pkgdesc="Humanist Sans Serif Typeface"
+url="https://github.com/googlefonts/opensans"
+arch="noarch"
+license="Apache-2.0"
+options="!check"
+depends="fontconfig mkfontdir mkfontscale"
+conflicts="ttf-opensans"
+makedepends="font-util-dev"
+install="$pkgname.post-install"
+source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname.zip"
+builddir="$srcdir"/opensans-master
+
+build() {
+ return 0
+}
+
+package() {
+ install -d "$pkgdir/usr/share/fonts/TTF"
+ install -m644 hinted_ttfs/*.ttf "$pkgdir/usr/share/fonts/TTF/"
+}
+
+sha512sums="4ff6537bb3bb69f3ebb6f0743cefaee72b39e878865e628f4612e28377749b68789ee9db9c04643a2a404d85063ee4c1939523bfd2a905bf44cc001e000ffa30 ttf-google-opensans.zip"