1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
5 _commit=2725c70baa8b0176c7577093ba1fc6179aa79478
7 pkgdesc='Chrome OS core fonts'
9 url='https://fonts.google.com/noto'
12 makedepends=(git python-fonttools)
13 source=(git+https://github.com/notofonts/noto-fonts#commit=$_commit)
17 # Fix weight of Arimo-BoldItalic.ttf https://github.com/googlefonts/noto-fonts/issues/2350
18 cd noto-fonts/hinted/ttf/Arimo
19 ttx Arimo-BoldItalic.ttf
20 sed -e 's|usWeightClass value=\"400\"|usWeightClass value=\"700\"|' -i Arimo-BoldItalic.ttx
21 ttx -f Arimo-BoldItalic.ttx
26 install -Dm644 hinted/ttf/{Arimo,Cousine,Tinos}/*.ttf -t "$pkgdir"/usr/share/fonts/croscore
27 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/ttf-croscore