summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennard Hofmann2020-09-24 16:02:57 +0200
committerLennard Hofmann2020-09-24 16:02:57 +0200
commit29f6aa41a6b6f76e0c348cd90fdbfedc0ad32fe7 (patch)
tree6c456ab5d3120aa0bab52f87fe4dc2f141accac8
parent2031b47f9a4d27e18e368f5aad14b209feb7d4c8 (diff)
downloadaur-commissioner-font.tar.gz
Update to first official release, 1.000
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfec3801b62..b2ceda4c4cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = commissioner-font
pkgdesc = Sans typeface by Kostas Bartsokas
pkgver = 1.000
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/kosbarts/Commissioner
arch = any
license = OFL
- source = https://github.com/kosbarts/Commissioner/archive/d76954316c5802e590e42acad3eebc8df84c49d8/commissioner-font-1.000-5.zip
- sha512sums = 182fa3aadf086c37187511f3acb4d59610884dd53d8ff8bf0eb6c473b3e5570dc15b3fa288db14288714b2efdcee9549c20331252950a295b321d7a21cfeb9c6
+ source = https://github.com/kosbarts/Commissioner/releases/download/1.000/Commissioner_1.000.zip
+ sha512sums = a1be692a076006e35a31c264bf5f7d8f0b0edc209714efc0986e08e8e4019db6300c8593b3e5ea8119c2a08217fabee248722fa04a00a02720d9e9f71ceb6d8a
pkgname = otf-commissioner
pkgdesc = Sans typeface by Kostas Bartsokas (54 static cuts)
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
}