pkgname=otc-noto-cjk pkgver=20170601 pkgrel=1 _commit=32a5844539f2e348ed36b44e990f9b06d7fb89fe pkgdesc="Google Noto CJK fonts" arch=(any) url="https://www.google.com/get/noto/" license=(custom:SIL) depends=(fontconfig) provides=(otf-noto ttf-noto-cjk) replaces=("ttf-noto-cjk<${pkgver}") source=($pkgname-$pkgver.zip::"https://github.com/googlei18n/noto-cjk/archive/$_commit.zip") sha256sums=('31e53af3f5e97ae021f24f960608e98f64aaa12804eda7fb583dcfaa8d496ebf') package() { install -Dt "$pkgdir"/usr/share/fonts/noto-cjk -m644 noto-cjk-*/*.ttc install -Dt "$pkgdir"/usr/share/licenses/$pkgname -m644 noto-cjk-*/LICENSE }