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

Antonio Rojas arojas at archlinux.org
Tue Jul 17 17:59:17 UTC 2018


    Date: Tuesday, July 17, 2018 @ 17:59:17
  Author: arojas
Revision: 328894

archrelease: copy trunk to extra-any

Added:
  noto-fonts-cjk/repos/extra-any/70-noto-cjk.conf
    (from rev 328893, noto-fonts-cjk/trunk/70-noto-cjk.conf)
  noto-fonts-cjk/repos/extra-any/PKGBUILD
    (from rev 328893, noto-fonts-cjk/trunk/PKGBUILD)
Deleted:
  noto-fonts-cjk/repos/extra-any/PKGBUILD

------------------+
 70-noto-cjk.conf |  147 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD         |   38 +++++++------
 2 files changed, 167 insertions(+), 18 deletions(-)

Copied: noto-fonts-cjk/repos/extra-any/70-noto-cjk.conf (from rev 328893, noto-fonts-cjk/trunk/70-noto-cjk.conf)
===================================================================
--- 70-noto-cjk.conf	                        (rev 0)
+++ 70-noto-cjk.conf	2018-07-17 17:59:17 UTC (rev 328894)
@@ -0,0 +1,147 @@
+<?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>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>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>
+</fontconfig>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-17 17:58:43 UTC (rev 328893)
+++ PKGBUILD	2018-07-17 17:59:17 UTC (rev 328894)
@@ -1,18 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=noto-fonts-cjk
-pkgver=20170601
-_commit=32a5844539f2e348ed36b44e990f9b06d7fb89fe
-pkgrel=1
-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")
-sha256sums=('31e53af3f5e97ae021f24f960608e98f64aaa12804eda7fb583dcfaa8d496ebf')
-
-package() {
-  install -Dt "$pkgdir"/usr/share/fonts/noto-cjk -m644 noto-cjk-*/*.ttc
-  install -Dt "$pkgdir"/usr/share/licenses/$pkgname -m644 noto-cjk-*/LICENSE
-}

Copied: noto-fonts-cjk/repos/extra-any/PKGBUILD (from rev 328893, noto-fonts-cjk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-17 17:59:17 UTC (rev 328894)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=noto-fonts-cjk
+pkgver=20170601
+_commit=32a5844539f2e348ed36b44e990f9b06d7fb89fe
+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=('31e53af3f5e97ae021f24f960608e98f64aaa12804eda7fb583dcfaa8d496ebf'
+            '5a5fa764efaca13a326998499d026b89e22217c12011074bf301ef8aa4a9bb37')
+
+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