summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a6df0c54120..259b21d37b96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,8 +5,8 @@ pkgbase = adobe-source-han-mono-classic-fonts
url = https://github.com/redchenjs/source-han-mono-classic
arch = any
license = custom:OFL
- source = 1.002-8.zip::https://github.com/redchenjs/source-han-mono-classic/releases/download/1.002/SourceHanMonoC-OTF.zip
- sha512sums = 7b02b5d0252dd3076405f23659e26192dda6a2e330d00f935d9d05014afcf27b45aac82b8a6bc846796abf695ab0e50d8f1fff0728ee057cd4f9037aab0f0762
+ source = bd68695e78831f592f5f14e06af3cdf7cb28766f1cbb89beffde0d02afead8464643556ee69e9bcc70ae9ce1d242cdb1c7ba406a40c702627ba969376aa5051a.zip::https://github.com/redchenjs/source-han-mono-classic/releases/download/1.002/SourceHanMonoC-OTF.zip
+ sha512sums = bd68695e78831f592f5f14e06af3cdf7cb28766f1cbb89beffde0d02afead8464643556ee69e9bcc70ae9ce1d242cdb1c7ba406a40c702627ba969376aa5051a
pkgname = adobe-source-han-mono-classic-fonts
diff --git a/PKGBUILD b/PKGBUILD
index 169823fc75c1..6a72ed33c91e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,9 @@ pkgdesc='Adobe Source Han Mono fonts with classic orthography.'
arch=('any')
url="https://github.com/redchenjs/source-han-mono-classic"
license=('custom:OFL')
-source=($pkgver-$pkgrel.zip::"https://github.com/redchenjs/source-han-mono-classic/releases/download/$pkgver/SourceHanMonoC-OTF.zip")
-sha512sums=('7b02b5d0252dd3076405f23659e26192dda6a2e330d00f935d9d05014afcf27b45aac82b8a6bc846796abf695ab0e50d8f1fff0728ee057cd4f9037aab0f0762')
+_sha512sums=$(curl -s -L https://github.com/redchenjs/source-han-mono-classic/releases/download/$pkgver/SourceHanMonoC-OTF.zip.sha512sum)
+source=($_sha512sums.zip::"https://github.com/redchenjs/source-han-mono-classic/releases/download/$pkgver/SourceHanMonoC-OTF.zip")
+sha512sums=("$_sha512sums")
package() {
cd "$srcdir/OTF"