diff options
author | Jack Chen | 2021-05-01 14:51:53 +0800 |
---|---|---|
committer | Jack Chen | 2021-05-01 14:51:53 +0800 |
commit | 6f50db5c33ad247d86392335fcd19300ddcefb3a (patch) | |
tree | 6cda126b75c02d0f3532f7908a85a96019dd5004 | |
parent | f2225a610f97c8555381b5a34e95ebd69342c9e4 (diff) | |
download | aur-6f50db5c33ad247d86392335fcd19300ddcefb3a.tar.gz |
update PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -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 @@ -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" |