summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2021-08-07 15:46:12 +0300
committerCaleb Maclennan2021-08-07 15:46:12 +0300
commitd5a23f49c9d75caa68ffddf0859d5b04be74aa94 (patch)
tree541df6d5f9c9b1e5c03c1d6cfb25715103268350 /PKGBUILD
parente4388ce8dce20bf9426cf02e1714bac3457bf587 (diff)
downloadaur-reem-kufi-font.tar.gz
upgpkg: reem-kufi-font 1.100-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7ecd1e7be5e..23fbbbef72d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_fname=reem-kufi
-_pname=ReemKufi
pkgbase=$_fname-font
pkgname=(otf-$_fname ttf-$_fname)
-pkgver=1.0
+pkgver=1.100
+_tag=${pkgver%00}
pkgrel=1
pkgdesc='A Kufic typeface based on early Kific modeles retrofitted to the Fatimid Kufic grid'
arch=(any)
@@ -12,18 +12,19 @@ url="https://github.com/aliftype/$_fname"
license=(AGPL3)
provides=("$pkgbase")
provides=("$pkgbase")
-source=("$url/releases/download/v$pkgver/$_pname-$pkgver.zip")
-sha256sums=('3b6ff7c96e3488640a7e73a3750c95a491fb07f7ffe3f050f0aab61af3bd084e')
+_archive="ReemKufi-$_tag"
+source=("$url/releases/download/v$_tag/$_archive.zip")
+sha256sums=('1d9a573ff9f5db70556d96e11c321ea9d766b18f4be06912e9930ec00fe48ea1')
package_otf-reem-kufi() {
- cd "$_pname-$pkgver"
+ cd "$_archive"
install -Dm0644 -t "$pkgdir/usr/share/fonts/OTF" *.otf
install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.txt
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" OFL.txt
}
package_ttf-reem-kufi() {
- cd "$_pname-$pkgver"
+ cd "$_archive"
install -Dm0644 -t "$pkgdir/usr/share/fonts/TTF" ttf/*.ttf
install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.txt
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" OFL.txt