Subject: [alpine-aports] [PATCH] community/font-noto-cjk: new APKBUILD

From: Drew DeVault <[email-masked]>
Date: Sat, 2 Mar 2019 21:27:47 -0700

This is simplified from community/font-noto, but since they're versioned
and distributed separately I made a separate APKBUILD.
---
Enjoy an extra 1.7GiB per arch per release per mirror :)

 community/font-noto-cjk/APKBUILD | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 community/font-noto-cjk/APKBUILD

diff --git a/community/font-noto-cjk/APKBUILD b/community/font-noto-cjk/APKBUILD
new file mode 100644
index 0000000000..b13a991413
--- /dev/null
+++ b/community/font-noto-cjk/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Carlo Landmeter <[email-masked]>
+# Maintainer: Drew DeVault <[email-masked]>
+pkgname=font-noto-cjk
+pkgver=0_git20181130
+_sha=9326451d9b4f32ec7f8640581c5053cc192039f2
+pkgrel=0
+pkgdesc="Google's font family that aims to support all the world's languages (cjk)"
+url="https://github.com/googlei18n/noto-fonts/"
+arch="noarch"
+license="OFL-1.1"
+depends="fontconfig"
+options="!check"
+source="$pkgname-$pkgver.tar.gz::https://github.com/googlei18n/noto-cjk/archive/$_sha.tar.gz"
+builddir="$srcdir/noto-cjk-$_sha"
+
+build()	{
+	return 0
+}
+
+package() {
+	mkdir -p "$pkgdir"/usr/share/fonts/noto
+	install -m644 "$builddir"/*.otf \
+		"$pkgdir"/usr/share/fonts/noto/
+}
+
+sha512sums="d4578421919d03ecf82627375cfc4b227825af485140b35e2315d17f8ef38d034e0ffdd21fb3aa226c82e9cf587123867d565f93d32f8bf7d754571f0ebf825e  font-noto-cjk-0_git20181130.tar.gz"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---