db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / noto-fonts-cjk / trunk / PKGBUILD
blobcc8dffcdae18d6be9008a7efe2caa5276cb0a42a
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=noto-fonts-cjk
4 pkgver=20220126
5 _commit=473da44c32fec739db7e5458c81a833513cb4084
6 pkgrel=1
7 pkgdesc='Google Noto CJK fonts'
8 arch=(any)
9 url='https://www.google.com/get/noto/'
10 license=(custom:SIL)
11 makedepends=(git)
12 source=(git+https://github.com/googlefonts/noto-cjk.git#commit=$_commit
13         70-noto-cjk.conf)
14 sha256sums=('SKIP'
15             '528e2bd75c6c9b5931e9c3d381c2056501a5ef4bd80488fdce3a6491f56b2844')
17 package() {
18   install -Dm644 noto-cjk/*/OTC/*.ttc -t "$pkgdir"/usr/share/fonts/noto-cjk
19   install -Dm644 noto-cjk/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
20   install -Dm644 70-noto-cjk.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
21   install -d "$pkgdir"/usr/share/fontconfig/conf.default
22   ln -rs "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default