[arch-commits] Commit in noto-fonts-cjk/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:10:07 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:10:06
  Author: felixonmars
Revision: 386172

archrelease: copy trunk to staging-any

Added:
  noto-fonts-cjk/repos/staging-any/
  noto-fonts-cjk/repos/staging-any/70-noto-cjk.conf
    (from rev 386170, noto-fonts-cjk/trunk/70-noto-cjk.conf)
  noto-fonts-cjk/repos/staging-any/PKGBUILD
    (from rev 386171, noto-fonts-cjk/trunk/PKGBUILD)

------------------+
 70-noto-cjk.conf |  183 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD         |   19 +++++
 2 files changed, 202 insertions(+)

Copied: noto-fonts-cjk/repos/staging-any/70-noto-cjk.conf (from rev 386170, noto-fonts-cjk/trunk/70-noto-cjk.conf)
===================================================================
--- staging-any/70-noto-cjk.conf	                        (rev 0)
+++ staging-any/70-noto-cjk.conf	2020-05-19 08:10:06 UTC (rev 386172)
@@ -0,0 +1,183 @@
+<?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">
+            <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">
+            <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">
+            <string>Noto Serif CJK HK</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>ja</string>
+        </test>
+        <test name="family">
+            <string>sans-serif</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans CJK JP</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>ko</string>
+        </test>
+        <test name="family">
+            <string>sans-serif</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans CJK KR</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>zh-cn</string>
+        </test>
+        <test name="family">
+            <string>sans-serif</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans CJK SC</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>zh-tw</string>
+        </test>
+        <test name="family">
+            <string>sans-serif</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans CJK TC</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>zh-hk</string>
+        </test>
+        <test name="family">
+            <string>sans-serif</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans CJK HK</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>ja</string>
+        </test>
+        <test name="family">
+            <string>monospace</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans Mono CJK JP</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>ko</string>
+        </test>
+        <test name="family">
+            <string>monospace</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans Mono CJK KR</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>zh-cn</string>
+        </test>
+        <test name="family">
+            <string>monospace</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans Mono CJK SC</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>zh-tw</string>
+        </test>
+        <test name="family">
+            <string>monospace</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans Mono CJK TC</string>
+        </edit>
+    </match>
+
+    <match target="pattern">
+        <test name="lang">
+            <string>zh-hk</string>
+        </test>
+        <test name="family">
+            <string>monospace</string>
+        </test>
+        <edit name="family" mode="prepend">
+            <string>Noto Sans Mono CJK HK</string>
+        </edit>
+    </match>
+</fontconfig>

Copied: noto-fonts-cjk/repos/staging-any/PKGBUILD (from rev 386171, noto-fonts-cjk/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:10:06 UTC (rev 386172)
@@ -0,0 +1,19 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=noto-fonts-cjk
+pkgver=20190409
+_commit=cf29231ab8029678af4bbc1a9480e2b296a5b2d3
+pkgrel=2
+pkgdesc="Google Noto CJK fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(custom:SIL)
+source=($pkgname-$pkgver.zip::"https://github.com/googlei18n/noto-cjk/archive/$_commit.zip" 70-noto-cjk.conf)
+sha256sums=('02b5de2cb3a4141fcbd92dd63e2df0d5c9ded3b5986ff41cf40644aebc519fc3'
+            '357e9ed6553087567ec5a28f835db5c43d3cd68a688e4677f759cca465379a32')
+
+package() {
+  install -Dm644 noto-cjk-*/*.ttc -t "$pkgdir"/usr/share/fonts/noto-cjk
+  install -Dm644 noto-cjk-*/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm644 70-noto-cjk.conf -t "$pkgdir"/etc/fonts/conf.avail
+}



More information about the arch-commits mailing list