1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
5 _commit=473da44c32fec739db7e5458c81a833513cb4084
7 pkgdesc='Google Noto CJK fonts'
9 url='https://www.google.com/get/noto/'
12 source=(git+https://github.com/googlefonts/noto-cjk.git#commit=$_commit
15 '528e2bd75c6c9b5931e9c3d381c2056501a5ef4bd80488fdce3a6491f56b2844')
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