archlinux/repo/noto-fonts-sc/PKGBUILD

55 lines
3.8 KiB
Bash
Raw Normal View History

2022-08-14 09:24:08 +00:00
# Maintainer: Xiufeng Guo <i@m.ac>
# Maintainer: Xuanrui Qi <me@xuanruiqi.com>
# Former Maintainer: Andrés Cordero <arch@andrew67.com>
# Former Maintainer: halflife <pigoig_At_gmail_com>
pkgname=noto-fonts-sc
pkgver=20220814
_pkgver=840286e6a7806f3aca79bfa2c992e7616b65147f
pkgrel=2
epoch=2
pkgdesc="Noto CJK-SC fonts for Simplified Chinese"
arch=(any)
source=("https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Regular.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Bold.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-DemiLight.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Light.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Medium.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Thin.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/OTF/SimplifiedChinese/NotoSansCJKsc-Black.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-Regular.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-Bold.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-SemiBold.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-Black.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-Light.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-Medium.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Serif/OTF/SimplifiedChinese/NotoSerifCJKsc-ExtraLight.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/Mono/NotoSansMonoCJKsc-Regular.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/Mono/NotoSansMonoCJKsc-Bold.otf"
"https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/Sans/LICENSE")
sha256sums=('2c76254f6fc379fddfce0a7e84fb5385bb135d3e399294f6eeb6680d0365b74b'
'b5f0d1a190a7f9b43c310a8850630af12553df32c4c050543f9059732d9b4c0a'
'4600700d1b10c8e82074de7c91fa60d2ff5d0a7b9588edea6ab0929424b1699f'
'e78bbbe1573bbb006156c1198f5c8cd6329470cb6e0b6702c7a3c83913db4abf'
'ca094f6b0001fb048ca39ddd797a0cdb0179e1e55c6561e111c49c3e6a61d7b7'
'89bb8179d1b285ac0ca236b37ff29929ee3cc4526048dc11630a55728063e5ba'
'2267c4a0312d267dff8c0d1609948f7d949a3da8be3e126f5e2690cb9cc883b4'
'18e4072f01dad3965a72ae8afee7d6dac447c4eb6d454e0084ed5c9c1fc0091f'
'2a684361e3919099fee54579defdf93f5ae106ffd7daa7f09d84dd3732e965d8'
'374acf16be3b4f5a55fafa2b7291cc46f7629dee4928380da7fc26d7a58dac3c'
'0f856ec0ba328cf9660e217fab96157c804d657d7731dd109c37c3979bf27489'
'fb6e307d4aa3fbc7f5126d9cb3999ef265df66638568d00637cafb9b273b51bb'
'e96f884880db64f4fba645e0c7badc38a970328e0824f41dc62cfb47f6b0e263'
'6f509211d80d2786ae978efb9eeffeeb3920c167a0b9c53ec389ec119ba2cd5f'
'ec04cc376b34887cedbdf84074e2e226ed2761eeabdcb9173fc1dd7bfd153ef7'
'a452fedfc0619e43e080b7b861ce34cbd3ec4fbcea495bf8c402a5a02a5dcbdc'
'6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2')
url="https://www.google.com/get/noto/help/cjk/"
license=("custom: SIL")
package() {
install -d "${pkgdir}/usr/share/fonts/OTF"
install -m644 "${srcdir}/"*.otf "${pkgdir}/usr/share/fonts/OTF/"
install -Dm644 "${srcdir}/"LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}