summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJack Chen2021-05-01 14:50:31 +0800
committerJack Chen2021-05-01 14:50:31 +0800
commit153357ba89f4996412cdedafa53b665ec6d0b172 (patch)
tree46b79379364ce48150ef56a70605be64c9af5186 /PKGBUILD
parentcf59c4e4c56e336c1b4eaadc10580e8a48abb516 (diff)
downloadaur-adobe-source-han-sans-classic-fonts.tar.gz
update PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1556bb53bed7..d6387215d329 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,9 @@ pkgdesc='Adobe Source Han Sans fonts with classic orthography.'
arch=('any')
url="https://github.com/redchenjs/source-han-sans-classic"
license=('custom:OFL')
-source=($pkgver-$pkgrel.zip::"https://github.com/redchenjs/source-han-sans-classic/releases/download/$pkgver/SourceHanSansC-OTF.zip")
-sha512sums=('e926166645f488c231eaa32656f2ad057a829bc6125c9881db3eb778da8049c75a388396b132d6ff4489cecc73aa90040d3ff83b93fdfa661d3c8cdae9361f12')
+_sha512sums=$(curl -s -L https://github.com/redchenjs/source-han-sans-classic/releases/download/$pkgver/SourceHanSansC-OTF.zip.sha512sum)
+source=($_sha512sums.zip::"https://github.com/redchenjs/source-han-sans-classic/releases/download/$pkgver/SourceHanSansC-OTF.zip")
+sha512sums=("$_sha512sums")
package() {
cd "$srcdir/OTF"