testing/font-chivo: new aport

This commit is contained in:
ptrcnull 2022-12-09 22:31:24 +01:00 committed by alice
parent 5685a4faef
commit 39361ee252

View File

@ -0,0 +1,28 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=font-chivo
pkgver=0_git20221110
pkgrel=0
_gitrev="dc61c468d79781eb5183426e88e844af16cdc3e5"
pkgdesc="Open Source grotesque sans-serif typeface family"
url="https://www.omnibus-type.com/fonts/chivo/"
arch="noarch"
license="OFL-1.1"
subpackages="$pkgname-mono"
source="$pkgname-$pkgver.tar.gz::https://github.com/Omnibus-Type/Chivo/archive/$_gitrev.tar.gz"
builddir="$srcdir/Chivo-$_gitrev"
options="!check" # is font
package() {
install -Dm644 fonts/Chivo/otf/*.otf -t "$pkgdir"/usr/share/fonts/chivo
install -Dm644 fonts/"Chivo Mono"/otf/*.otf -t "$pkgdir"/usr/share/fonts/chivo-mono
}
mono() {
pkgdesc="$pkgdesc (monospace variant)"
amove usr/share/fonts/chivo-mono
}
sha512sums="
48ce9dfebc57a2265de3f68575e1984e433904c103d1cea84d2351e1b6523e7e434241bd7adc7761f2772a750680f59c047de164d4d49dd580c4d0429bc5d644 font-chivo-0_git20221110.tar.gz
"