1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Kewl <xrjy@nygb.rh.bet(rot13)>
3 # Contributor: Justin Settle <jus10 at partlycloudy dot org>
8 pkgdesc="Google's Carlito font"
11 url='https://code.google.com/p/chromium/issues/detail?id=280557'
12 provides=(google-crosextra-carlito-fonts)
13 source=("https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-$pkgver.tar.gz"
14 62-google-crosextra-carlito.conf)
15 sha256sums=('4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a'
16 '31a74cd8044c8c8644f1555c06f406559f2e14334dd671a608145431a4299bd3')
19 cd crosextrafonts-carlito-$pkgver
21 install -Dm644 *.ttf -t "$pkgdir/usr/share/fonts/${pkgname#ttf-}"
22 install -Dm644 "$srcdir"/62-google-crosextra-carlito.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
24 install -d "$pkgdir"/usr/share/fontconfig/conf.default
25 ln -sr "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default/
27 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"