summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Chen2021-04-30 00:00:06 +0800
committerJack Chen2021-04-30 00:07:34 +0800
commit0361c4453e52761b4de566c187a47ae8956931e7 (patch)
tree6230c57940a41853e3b895b5aef7e22c893a7301
parent10d091ffea2b69218d1cabd3bab36acea4489162 (diff)
downloadaur-0361c4453e52761b4de566c187a47ae8956931e7.tar.gz
update to 1.002
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af977f5d70a9..7af59d12a46c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = adobe-source-han-mono-classic-fonts
pkgdesc = Adobe Source Han Mono fonts with classic orthography.
pkgver = 1.002
- pkgrel = 6
+ pkgrel = 1
url = https://github.com/redchenjs/source-han-mono-classic
arch = any
license = custom:OFL
- source = https://github.com/redchenjs/source-han-mono-classic/archive/5888cdabc66f48976e7a9605aae91ed39cea27f8/source-han-mono-classic-5888cdabc66f48976e7a9605aae91ed39cea27f8.tar.gz
- sha512sums = 438ed2426479979cd908734b4f7c5c56870cbbcec4365c6ecc9cb86b79a14a37ebacb1df7050fdbb8726a0c268b24fc0e4d60f6d56e9cccb9bd71c77f749abe9
+ source = 1.002.zip::https://github.com/redchenjs/source-han-mono-classic/releases/download/1.002/source-han-mono-classic-otf.zip
+ sha512sums = 95ac32419bb072b474755caee7424baf2ae5eec7a439ba7e4986cd0752e52192e5fcae2ade9c7fd508f68289d07e6d187f80178514f3ca97eea6e8d8dd4fe435
pkgname = adobe-source-han-mono-classic-fonts
diff --git a/PKGBUILD b/PKGBUILD
index f46e3c947e06..8b18c8ef1319 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,18 @@
pkgname=adobe-source-han-mono-classic-fonts
pkgver=1.002
-_commit=5888cdabc66f48976e7a9605aae91ed39cea27f8
-pkgrel=6
+pkgrel=1
pkgdesc='Adobe Source Han Mono fonts with classic orthography.'
arch=('any')
url="https://github.com/redchenjs/source-han-mono-classic"
license=('custom:OFL')
-source=("https://github.com/redchenjs/source-han-mono-classic/archive/$_commit/source-han-mono-classic-$_commit.tar.gz")
-sha512sums=('438ed2426479979cd908734b4f7c5c56870cbbcec4365c6ecc9cb86b79a14a37ebacb1df7050fdbb8726a0c268b24fc0e4d60f6d56e9cccb9bd71c77f749abe9')
+source=($pkgver.zip::"https://github.com/redchenjs/source-han-mono-classic/releases/download/$pkgver/source-han-mono-classic-otf.zip")
+sha512sums=('95ac32419bb072b474755caee7424baf2ae5eec7a439ba7e4986cd0752e52192e5fcae2ade9c7fd508f68289d07e6d187f80178514f3ca97eea6e8d8dd4fe435')
package() {
- cd "source-han-mono-classic-$_commit"
+ cd "$srcdir/OTF"
install -dm755 "$pkgdir/usr/share/fonts/adobe-source-han-sans"
install -Dm644 *.otf "$pkgdir/usr/share/fonts/adobe-source-han-sans/"
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}