summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2024-06-11 10:47:28 +0800
committerlilac2024-06-11 10:47:28 +0800
commit61081dbb7720ef5d24896b2e4b78b1bafcae355c (patch)
tree8c851db0011825e0e4dcb9904d9caa0b19dafdd8
parentbd63869d2217abba28640ad82cb5d7249f140bb5 (diff)
downloadaur-61081dbb7720ef5d24896b2e4b78b1bafcae355c.tar.gz
[lilac] updated to 2.002-3
-rw-r--r--.SRCINFO6
-rw-r--r--70-noto-serif-cjk.conf59
-rw-r--r--PKGBUILD13
3 files changed, 6 insertions, 72 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bea42e3bef1a..3e78d347af49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,12 @@
pkgbase = otf-noto-serif-cjk-vf
pkgdesc = Noto CJK fonts (Serif, Variable OTC)
pkgver = 2.002
- pkgrel = 2
+ pkgrel = 3
url = https://www.google.com/get/noto/help/cjk
arch = any
- license = custom:SIL
+ license = OFL-1.1
provides = noto-fonts-cjk
source = https://github.com/notofonts/noto-cjk/releases/download/Serif2.002/02_NotoSerifCJK-OTF-VF.zip
- source = 70-noto-serif-cjk.conf
sha256sums = 279c27b6314d103c068f90fa4451ba64dcfb0a0d2d4549f02ff82a57f399f200
- sha256sums = ad900dbcbf6f6427d86adfb78d5d395d97a2bb5182468ae6a09bbb13a74c0765
pkgname = otf-noto-serif-cjk-vf
diff --git a/70-noto-serif-cjk.conf b/70-noto-serif-cjk.conf
deleted file mode 100644
index 1a1622206730..000000000000
--- a/70-noto-serif-cjk.conf
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
- <match target="pattern">
- <test name="lang">
- <string>ja</string>
- </test>
- <test name="family">
- <string>serif</string>
- </test>
- <edit name="family" mode="prepend">
- <string>Noto Serif CJK JP</string>
- </edit>
- </match>
- <match target="pattern">
- <test name="lang">
- <string>ko</string>
- </test>
- <test name="family">
- <string>serif</string>
- </test>
- <edit name="family" mode="prepend">
- <string>Noto Serif CJK KR</string>
- </edit>
- </match>
- <match target="pattern">
- <test name="lang">
- <string>zh-cn</string>
- </test>
- <test name="family">
- <string>serif</string>
- </test>
- <edit name="family" mode="prepend" binding="strong">
- <string>Noto Serif CJK SC</string>
- </edit>
- </match>
- <match target="pattern">
- <test name="lang">
- <string>zh-tw</string>
- </test>
- <test name="family">
- <string>serif</string>
- </test>
- <edit name="family" mode="prepend" binding="strong">
- <string>Noto Serif CJK TC</string>
- </edit>
- </match>
- <match target="pattern">
- <test name="lang">
- <string>zh-hk</string>
- </test>
- <test name="family">
- <string>serif</string>
- </test>
- <edit name="family" mode="prepend" binding="strong">
- <string>Noto Serif CJK HK</string>
- </edit>
- </match>
-</fontconfig> \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 03e15777dfd8..6dc60c9e5afa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,15 @@
pkgname=otf-noto-serif-cjk-vf
pkgver=2.002
-pkgrel=2
+pkgrel=3
pkgdesc='Noto CJK fonts (Serif, Variable OTC)'
provides=(noto-fonts-cjk)
arch=(any)
url='https://www.google.com/get/noto/help/cjk'
-license=(custom:SIL)
-source=(https://github.com/notofonts/noto-cjk/releases/download/Serif${pkgver}/02_NotoSerifCJK-OTF-VF.zip
- 70-noto-serif-cjk.conf)
-sha256sums=('279c27b6314d103c068f90fa4451ba64dcfb0a0d2d4549f02ff82a57f399f200'
- 'ad900dbcbf6f6427d86adfb78d5d395d97a2bb5182468ae6a09bbb13a74c0765')
+license=('OFL-1.1')
+source=(https://github.com/notofonts/noto-cjk/releases/download/Serif${pkgver}/02_NotoSerifCJK-OTF-VF.zip)
+sha256sums=('279c27b6314d103c068f90fa4451ba64dcfb0a0d2d4549f02ff82a57f399f200')
package() {
install -Dm644 Variable/OTC/NotoSerifCJK-VF.otf.ttc -t "$pkgdir"/usr/share/fonts/noto-cjk
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
- install -Dm644 70-noto-serif-cjk.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail
- install -d "$pkgdir"/usr/share/fontconfig/conf.default
- ln -rs "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default
}