# Contributor: Jakub Jirutka # Maintainer: Diego Jara pkgname=font-carlito # This version comes from the Chrome OS package where this font first appeared # and it's used by all distros. pkgver=20130920 _gitrev=64cab86c9b602088697294736b86f2831f3f44be pkgrel=1 pkgdesc="Sans-serif font metric-compatible with Calibri font" url="https://github.com/googlefonts/carlito" arch="noarch" license="OFL-1.1" depends="fontconfig mkfontscale" provides="font-crosextra-carlito=$pkgver-r$pkgrel" # for backward compatibility # https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-20130920.tar.gz source="https://github.com/googlefonts/carlito/archive/$_gitrev/$pkgname-$_gitrev.tar.gz" builddir="$srcdir/carlito-$_gitrev" options="!check" # no test suite # NOTE: Calibri <-> Carlito aliases are already included in the default # fontconfig configs. package() { install -Dm644 fonts/ttf/*.ttf -t "$pkgdir"/usr/share/fonts/${pkgname#font-}/ } sha512sums=" e09d2504041df26565417309880b93f907ce8a011b35376ac8a4591b85d2736a2a4a6df3fed53315f1c0e8639570c63c1c46871f459ef1d8b8ffdc6af5880c43 font-carlito-64cab86c9b602088697294736b86f2831f3f44be.tar.gz "