diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 38 |
3 files changed, 35 insertions, 25 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 = 5.0 pkgrel = 1 - epoch = 1 + epoch = 2 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-5.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 + sha256sums = 57411e9ca399f372bda62fadd521a875d2062d34a0c654ace4a4c61539f3e10b + sha256sums = 3b0dadd40938d100fdace2082183e01d5a6c26cb2174513d495c39861f154eb6 + sha256sums = 40926d906d806f8c27f6da4c4770c957aa30588fff8a8fe413797bbcf9bc9de8 + sha256sums = bd2c6ddf6c18acd1d671f8768cb192bbda410882afee679a3c9b0a93ff393037 pkgname = ttf-tw - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..97348d7486fd --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.zip +*.pdf +*.zst +pkg/ +src/ @@ -1,27 +1,29 @@ -# Maintainer: Ma Jiehong <email at majiehong.com> +# Maintainer: Adrien Wu <adrien.sf.wu@gmail.com> +# Contributor: Ma Jiehong <email at majiehong.com> + pkgname=ttf-tw -epoch=1 -pkgver=20201114 +epoch=2 +pkgver=5.0 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') - -pkgver() -{ - cd "$srcdir/TW-fonts" - git show --no-patch --date=short --format=format:%cd | tr -d - -} +# 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-5.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) +sha256sums=('57411e9ca399f372bda62fadd521a875d2062d34a0c654ace4a4c61539f3e10b' + '3b0dadd40938d100fdace2082183e01d5a6c26cb2174513d495c39861f154eb6' + '40926d906d806f8c27f6da4c4770c957aa30588fff8a8fe413797bbcf9bc9de8' + 'bd2c6ddf6c18acd1d671f8768cb192bbda410882afee679a3c9b0a93ff393037') -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-5.0.ttf "${pkgdir}/usr/share/fonts/TTF/edukai-5.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" } |