summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD15
-rw-r--r--noto-fonts-tc.install15
3 files changed, 15 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78e2d7f1c3b2..b5e82e328b53 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = noto-fonts-tc
pkgdesc = Noto CJK-TC fonts for Traditional Chinese
- pkgver = 2.001
+ pkgver = 20201206
pkgrel = 1
- epoch = 1
+ epoch = 2
url = https://www.google.com/get/noto/help/cjk/
arch = any
license = custom: SIL
- source = https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansCJKtc-Regular.otf
- source = https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansMonoCJKtc-Regular.otf
- source = https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/LICENSE
- sha256sums = 273c0dca7aee567ff3b77dc30735631b49f8821e77b1175a4a7c89ef987549a8
- sha256sums = 4e1bf51454677d918bff7438f9e7013bc02ad730c0a0f6ab0826b27fea9cdd6c
+ source = https://github.com/googlefonts/noto-cjk/raw/v20201206-cjk/NotoSansCJKtc-Regular.otf
+ source = https://github.com/googlefonts/noto-cjk/raw/v20201206-cjk/NotoSansMonoCJKtc-Regular.otf
+ source = https://github.com/googlefonts/noto-cjk/raw/v20201206-cjk/LICENSE
+ sha256sums = 8ce2c995cdb87c55801d3a31cab82acc0310809b73b058f948178cc0857010aa
+ sha256sums = 76da3fd1f7bf0ab29fa36b8bb934a5e96c811f4370005e00a75630271287be58
sha256sums = 6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2
pkgname = noto-fonts-tc
diff --git a/PKGBUILD b/PKGBUILD
index c74008c64805..95a28b54c742 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,18 @@
# Contributor: <ariel.dabalsa@gmail.com>
pkgname=noto-fonts-tc
-pkgver=2.001
+pkgver=20201206
+_pkgver=v20201206-cjk
pkgrel=1
-epoch=1
+epoch=2
pkgdesc="Noto CJK-TC fonts for Traditional Chinese"
arch=(any)
depends=()
-source=("https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansCJKtc-Regular.otf"
- "https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/NotoSansMonoCJKtc-Regular.otf"
- "https://github.com/googlefonts/noto-cjk/raw/NotoSansV2.001/LICENSE")
-sha256sums=('273c0dca7aee567ff3b77dc30735631b49f8821e77b1175a4a7c89ef987549a8'
- '4e1bf51454677d918bff7438f9e7013bc02ad730c0a0f6ab0826b27fea9cdd6c'
+source=("https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/NotoSansCJKtc-Regular.otf"
+ "https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/NotoSansMonoCJKtc-Regular.otf"
+ "https://github.com/googlefonts/noto-cjk/raw/${_pkgver}/LICENSE")
+sha256sums=('8ce2c995cdb87c55801d3a31cab82acc0310809b73b058f948178cc0857010aa'
+ '76da3fd1f7bf0ab29fa36b8bb934a5e96c811f4370005e00a75630271287be58'
'6a73f9541c2de74158c0e7cf6b0a58ef774f5a780bf191f2d7ec9cc53efe2bf2')
url="https://www.google.com/get/noto/help/cjk/"
license=("custom: SIL")
diff --git a/noto-fonts-tc.install b/noto-fonts-tc.install
deleted file mode 100644
index 477228553e82..000000000000
--- a/noto-fonts-tc.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -fs >/dev/null
- mkfontscale /usr/share/fonts/OTF
- mkfontdir /usr/share/fonts/OTF
- echo "done"
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}