diff options
author | Lennard Hofmann | 2020-02-16 09:58:53 +0100 |
---|---|---|
committer | Lennard Hofmann | 2020-02-16 09:58:53 +0100 |
commit | af59b11633fd0ea43907ad3fc47d2ae4c52d06f1 (patch) | |
tree | 7b95c69b931f233e9cb02d4d191b22ee4698ffc1 | |
download | aur-af59b11633fd0ea43907ad3fc47d2ae4c52d06f1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3e3e7eb1340b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = commissioner-font + pkgdesc = Variable and static sans typeface by Kostas Bartsokas + pkgver = 1.000 + pkgrel = 1 + url = https://github.com/kosbarts/Commissioner + arch = any + license = custom:OFL + depends = fontconfig + depends = xorg-font-utils + source = https://github.com/kosbarts/Commissioner/archive/42b2d8fa94eef84e392e1746c5dc5aaea75fe120/commissioner-font-1.000.zip + sha512sums = 5e3c11c1603b44e77973744746de9c79d579d191c15b9f28fc0e1ba80ddb4748fe2ded53a3206bb7d21ca68fe747d98321a16a8c4de0672c6863c41a6d9effbf + +pkgname = otf-commissioner + pkgdesc = Variable and static sans typeface by Kostas Bartsokas (54 static cuts) + conflicts = ttf-commissioner + +pkgname = ttf-commissioner + pkgdesc = Variable and static sans typeface by Kostas Bartsokas (54 static cuts) + conflicts = otf-commissioner + +pkgname = ttf-commissioner-variable + pkgdesc = Variable and static sans typeface by Kostas Bartsokas (variable version) + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1dd341d47aad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Lennard Hofmann <lennard dot hofmann at web dot de> +pkgname=(otf-commissioner ttf-commissioner ttf-commissioner-variable) +_reponame=Commissioner +pkgbase=commissioner-font +pkgver=1.000 +_commit=42b2d8fa94eef84e392e1746c5dc5aaea75fe120 +pkgrel=1 +pkgdesc='Variable and static sans typeface by Kostas Bartsokas' +arch=(any) +url="https://github.com/kosbarts/$_reponame" +license=(custom:OFL) +depends=(fontconfig xorg-font-utils) +source=("$url/archive/$_commit/$pkgbase-$pkgver.zip") +sha512sums=('5e3c11c1603b44e77973744746de9c79d579d191c15b9f28fc0e1ba80ddb4748fe2ded53a3206bb7d21ca68fe747d98321a16a8c4de0672c6863c41a6d9effbf') + +package_otf-commissioner() { + pkgdesc+=' (54 static cuts)' + conflicts=(ttf-commissioner) + cd "$_reponame-$_commit" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt + install -Dm644 -t "$pkgdir/usr/share/fonts/commissioner" fonts/static/otfs/*.otf +} + +package_ttf-commissioner() { + pkgdesc+=' (54 static cuts)' + conflicts=(otf-commissioner) + cd "$_reponame-$_commit" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt + install -Dm644 -t "$pkgdir/usr/share/fonts/commissioner" fonts/static/ttfs/*.ttf +} + +package_ttf-commissioner-variable() { + pkgdesc+=' (variable version)' + cd "$_reponame-$_commit" + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt + install -Dm644 -t "$pkgdir/usr/share/fonts/commissioner" fonts/variable/*.ttf +} |