diff options
author | BrLi | 2021-07-27 22:57:38 +0800 |
---|---|---|
committer | BrLi | 2021-07-27 22:57:38 +0800 |
commit | 0d1ba0c4b67912790bb93141bc1ffce5768028d4 (patch) | |
tree | ac7270728ff90606040204371a6a0c1300e1ffd2 | |
parent | 5cb86671c16b52b3d9f851e59993d18583bcdbb8 (diff) | |
download | aur-0d1ba0c4b67912790bb93141bc1ffce5768028d4.tar.gz |
directly use upstream link, notes on fallback git repo
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 27 insertions, 20 deletions
@@ -1,15 +1,18 @@ -# Generated by mksrcinfo v8 pkgbase = ttf-tw pkgdesc = Set of KAI and SONG fonts from the Ministry of Education of Taiwan. These fonts follow all the official recommendations and their shapes are calligraphically correct. (TTF/UTF-8) - pkgver = 20201114 + pkgver = 20210727 pkgrel = 1 epoch = 1 url = http://www.moe.gov.tw/ arch = any license = CC-BY-ND 3.0 - makedepends = git - source = git+https://github.com/Jiehong/TW-fonts.git - sha512sums = SKIP + source = https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/edukai-4.0.zip + source = https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/eduSong_Unicode.zip + source = https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/edukai.pdf + source = https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/edusun.pdf + sha512sums = fdb346310b12357128f50a0ef93571e1fd4a77dd9289c3efb706787c327d4c5ac7917112de6fcad6dd22213740b10aa5aef2c021c0c0cc50d14bc6132b735d18 + sha512sums = 2af97c4456f829d7da73d90ebdd194db480262cc36250e8e51bef581afeeead10493c00f1f06d78f0bf54cae3bc1439b251b2a97e0601e043cd0795a09d5ce67 + sha512sums = 069266d54c828af59eaec425201a09affd71c5633233a14040f395d975f97f08fbab62b7d062436aed7e725c281705e08be2ee282d0b202d4ab7ad392a95e8f9 + sha512sums = 2fb45aa7818652daf39fab975efe2f4ca3b7bd95b7fde7b0a76845e40ef75d37a8f3a15ce00f159d8ed94bdd0428b85c83b3bcc7c0e9b88c00b0bf72c05a84ad pkgname = ttf-tw - @@ -1,27 +1,31 @@ # Maintainer: Ma Jiehong <email at majiehong.com> pkgname=ttf-tw epoch=1 -pkgver=20201114 +pkgver=20210727 pkgrel=1 pkgdesc="Set of KAI and SONG fonts from the Ministry of Education of Taiwan. These fonts follow all the official recommendations and their shapes are calligraphically correct. (TTF/UTF-8)" arch=('any') url="http://www.moe.gov.tw/" license=('CC-BY-ND 3.0') -depends=() -makedepends=('git') -conflicts=() -source=(git+https://github.com/Jiehong/TW-fonts.git) -sha512sums=('SKIP') +# backup source: git+https://github.com/Jiehong/TW-fonts.git +# makedepends=(git) +source=(https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/edukai-4.0.zip + https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/eduSong_Unicode.zip + https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/edukai.pdf + https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/edusun.pdf) +sha512sums=('fdb346310b12357128f50a0ef93571e1fd4a77dd9289c3efb706787c327d4c5ac7917112de6fcad6dd22213740b10aa5aef2c021c0c0cc50d14bc6132b735d18' + '2af97c4456f829d7da73d90ebdd194db480262cc36250e8e51bef581afeeead10493c00f1f06d78f0bf54cae3bc1439b251b2a97e0601e043cd0795a09d5ce67' + '069266d54c828af59eaec425201a09affd71c5633233a14040f395d975f97f08fbab62b7d062436aed7e725c281705e08be2ee282d0b202d4ab7ad392a95e8f9' + '2fb45aa7818652daf39fab975efe2f4ca3b7bd95b7fde7b0a76845e40ef75d37a8f3a15ce00f159d8ed94bdd0428b85c83b3bcc7c0e9b88c00b0bf72c05a84ad') -pkgver() -{ - cd "$srcdir/TW-fonts" - git show --no-patch --date=short --format=format:%cd | tr -d - +pkgver() { + date +%4Y%m%d } -package() -{ +package() { cd "$srcdir" - install -Dm644 TW-fonts/edukai-4.0.ttf "$pkgdir/usr/share/fonts/TTF/edukai-4.0.ttf" - install -Dm644 TW-fonts/eduSong_Unicode.ttf "$pkgdir/usr/share/fonts/TTF/eduSong_Unicode.ttf" + install -Dm644 edukai-4.0.ttf "${pkgdir}/usr/share/fonts/TTF/edukai-4.0.ttf" + install -Dm644 eduSong_Unicode.ttf "${pkgdir}/usr/share/fonts/TTF/eduSong_Unicode.ttf" + install -Dm644 edukai.pdf "${pkgdir}/usr/share/licenses/${pkgname}/edukai.pdf" + install -Dm644 edusun.pdf "${pkgdir}/usr/share/licenses/${pkgname}/edukai.edusun.pdf" } |