diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" |