summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 63a7882cb2fb..4106396357e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,16 @@
# Maintainer: A.I. <merrick@luois.me>
-pkgname=glow-sans-sc-normal
+_script=PH_SCRIPT
+_width=PH_WIDTH
+pkgname=glow-sans-${_script}-${_width}
pkgver=v0.9
pkgrel=1
pkgdesc="SHSans-derived CJK font family with a more concise & modern look."
url="https://welai.github.io/glow-sans"
arch=(any)
license=(MIT)
-source=(https://github.com/welai/glow-sans/releases/download/$pkgver/GlowSansSC-Normal-$pkgver.zip)
-md5sums=("638aa86bc312c8d115169031b978250b")
+source=(https://github.com/welai/glow-sans/releases/download/$pkgver/GlowSans${_script^^}-${_width^}-$pkgver.zip)
+md5sums=('33c6941b2f82ef2b71940c0753cf8c78')
package() {
install -Dt "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 $srcdir/*.otf