archrelease: copy trunk to staging-x86_64
[arch-packages.git] / ttf-carlito / trunk / PKGBUILD
blob45aa3f43846024b400fc09361a5aa30cf5396a38
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Kewl <xrjy@nygb.rh.bet(rot13)>
3 # Contributor: Justin Settle <jus10 at partlycloudy dot org>
5 pkgname=ttf-carlito
6 pkgver=20130920
7 pkgrel=6
8 pkgdesc="Google's Carlito font"
9 arch=(any)
10 license=(custom:OFL)
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')
18 package() {
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"