* update ttf-carlito to 20230509-1
This commit is contained in:
parent
b55864bf18
commit
b71269daeb
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Carlito</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Carlito</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
@ -4,26 +4,28 @@
|
||||
# Contributor: Justin Settle <jus10 at partlycloudy dot org>
|
||||
|
||||
pkgname=ttf-carlito
|
||||
pkgver=20130920
|
||||
pkgrel=6
|
||||
pkgver=20230509
|
||||
_commit=3a810cab78ebd6e2e4eed42af9e8453c4f9b850a
|
||||
pkgrel=1
|
||||
pkgdesc="Google's Carlito font"
|
||||
arch=(any)
|
||||
license=(custom:OFL)
|
||||
url='https://code.google.com/p/chromium/issues/detail?id=280557'
|
||||
url='https://fonts.google.com/specimen/Carlito'
|
||||
makedepends=('git')
|
||||
provides=(google-crosextra-carlito-fonts)
|
||||
source=("https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-$pkgver.tar.gz"
|
||||
62-google-crosextra-carlito.conf)
|
||||
sha256sums=('4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a'
|
||||
source=(git+https://github.com/googlefonts/carlito#commit=$_commit
|
||||
62-carlito.conf)
|
||||
sha256sums=('SKIP'
|
||||
'31a74cd8044c8c8644f1555c06f406559f2e14334dd671a608145431a4299bd3')
|
||||
|
||||
package() {
|
||||
cd crosextrafonts-carlito-$pkgver
|
||||
cd carlito
|
||||
|
||||
install -Dm644 *.ttf -t "$pkgdir/usr/share/fonts/${pkgname#ttf-}"
|
||||
install -Dm644 "$srcdir"/62-google-crosextra-carlito.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
|
||||
install -Dm644 fonts/ttf/*.ttf -t "$pkgdir/usr/share/fonts/${pkgname#ttf-}"
|
||||
install -Dm644 "$srcdir"/62-carlito.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
|
||||
|
||||
install -d "$pkgdir"/usr/share/fontconfig/conf.default
|
||||
ln -sr "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default/
|
||||
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
install -Dm644 OFL.txt -T "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user