new blfs: media-fonts/noto-cjk-20190416

This commit is contained in:
2026-01-10 17:24:01 -05:00
parent 10ea1c957c
commit 749d92020e
2 changed files with 180 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
pkgname=noto-cjk
pkgver=20190416
_commit=be6c059ac1587e556e2412b27f5155c8eb3ddbe6
pkgdesc='Google Noto CJK fonts'
arch=(any)
homepage='https://www.google.com/get/noto/'
license=(OFL-1.1)
_fontconfs=("70-noto-cjk.conf")
_fontconf_sums=("d00d70e55a3267f61e87c73c8ab651d7")
sources=("${pkgname}-${pkgver}.tar.gz"
${_fontconfs[@]}
)
urls=("https://github.com/notofonts/noto-cjk/archive/${_commit}.tar.gz"
${_fontconfs[@]}
)
md5sums=("8d542e9750d6581ddf13a17ddcbc2031"
${_fontconf_sums[@]}
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_install() {
install -vDm644 *.ttc -t "$pkgdir"/usr/share/fonts/noto-cjk
install -vDm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
for _f in ${_fontconfs[@]}; do
install -vDm644 "${filedir}/${_f}" -t "${pkgdir}/etc/fonts/conf.avail"
done
}
# vim:ft=sh syn=sh et sw=2: