1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Kewl <xrjy@nygb.rh.bet(rot13)>
3 # Contributor: Justin Settle <jus10 at partlycloudy dot org>
7 _commit=3a810cab78ebd6e2e4eed42af9e8453c4f9b850a
9 pkgdesc="Google's Carlito font"
12 url='https://fonts.google.com/specimen/Carlito'
14 provides=(google-crosextra-carlito-fonts)
15 source=(git+https://github.com/googlefonts/carlito#commit=$_commit
18 '31a74cd8044c8c8644f1555c06f406559f2e14334dd671a608145431a4299bd3')
23 install -Dm644 fonts/ttf/*.ttf -t "$pkgdir/usr/share/fonts/${pkgname#ttf-}"
24 install -Dm644 "$srcdir"/62-carlito.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
26 install -d "$pkgdir"/usr/share/fontconfig/conf.default
27 ln -sr "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default/
29 install -Dm644 OFL.txt -T "$pkgdir/usr/share/licenses/$pkgname/LICENSE"