db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / ttf-caladea / trunk / PKGBUILD
blob63b16a56adfde5134d905534a32f7061bce99252
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Kewl <xrjy@nygb.rh.bet(rot13)>
3 # Contributor: Justin Settle <jus10 at partlycloudy dot org>
5 pkgname=ttf-caladea
6 pkgver=20200113
7 pkgrel=3
8 _commit=bea9e4996451fb18e0bdb5cbd177c8a263c0343d
9 pkgdesc="A serif font family metric-compatible with Cambria font family"
10 arch=(any)
11 license=(Apache)
12 url='https://fonts.google.com/specimen/Caladea'
13 source=(https://github.com/huertatipografica/Caladea/archive/$_commit.tar.gz
14         62-caladea.conf)
15 sha256sums=('95a01f4a85bc77d52241ad831ef049661e99636fcc83cd1316eef898e82498ce'
16             'cd61569289d7a188636df05addd3a744808de38b3d492b3e87c7a060bce4a2e6')
18 package() {
19   cd Caladea-$_commit
21   install -Dm644 fonts/ttf/*.ttf -t "$pkgdir"/usr/share/fonts/caladea
23   install -Dm644 "$srcdir"/62-caladea.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/