summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cc3454cdf3e..c0d39b9899f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,32 +3,31 @@ pkgname=(otf-commissioner ttf-commissioner ttf-commissioner-variable)
_reponame=Commissioner
pkgbase=commissioner-font
pkgver=1.000
-_commit=d76954316c5802e590e42acad3eebc8df84c49d8
-pkgrel=5
+pkgrel=6
pkgdesc='Sans typeface by Kostas Bartsokas'
arch=(any)
url="https://github.com/kosbarts/$_reponame"
license=(OFL)
-source=("$url/archive/$_commit/$pkgbase-$pkgver-$pkgrel.zip")
-sha512sums=('182fa3aadf086c37187511f3acb4d59610884dd53d8ff8bf0eb6c473b3e5570dc15b3fa288db14288714b2efdcee9549c20331252950a295b321d7a21cfeb9c6')
+source=("$url/releases/download/$pkgver/Commissioner_$pkgver.zip")
+sha512sums=('a1be692a076006e35a31c264bf5f7d8f0b0edc209714efc0986e08e8e4019db6300c8593b3e5ea8119c2a08217fabee248722fa04a00a02720d9e9f71ceb6d8a')
package_otf-commissioner() {
pkgdesc+=' (54 static cuts)'
- cd "$_reponame-$_commit"
+ cd "${_reponame}_${pkgver}/Kostas_Bartsokas_Commissioner_$pkgver"
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)'
- cd "$_reponame-$_commit"
+ cd "${_reponame}_${pkgver}/Kostas_Bartsokas_Commissioner_$pkgver"
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"
+ cd "${_reponame}_${pkgver}/Kostas_Bartsokas_Commissioner_$pkgver"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" OFL.txt
install -Dm644 -t "$pkgdir/usr/share/fonts/commissioner" fonts/variable/*.ttf
}