[arch-commits] Commit in noto-fonts/repos (8 files)
Antonio Rojas
arojas at archlinux.org
Tue Mar 23 21:00:48 UTC 2021
Date: Tuesday, March 23, 2021 @ 21:00:47
Author: arojas
Revision: 410801
archrelease: copy trunk to testing-any
Added:
noto-fonts/repos/testing-any/
noto-fonts/repos/testing-any/46-noto-mono.conf
(from rev 410800, noto-fonts/trunk/46-noto-mono.conf)
noto-fonts/repos/testing-any/46-noto-sans.conf
(from rev 410800, noto-fonts/trunk/46-noto-sans.conf)
noto-fonts/repos/testing-any/46-noto-serif.conf
(from rev 410800, noto-fonts/trunk/46-noto-serif.conf)
noto-fonts/repos/testing-any/66-noto-mono.conf
(from rev 410800, noto-fonts/trunk/66-noto-mono.conf)
noto-fonts/repos/testing-any/66-noto-sans.conf
(from rev 410800, noto-fonts/trunk/66-noto-sans.conf)
noto-fonts/repos/testing-any/66-noto-serif.conf
(from rev 410800, noto-fonts/trunk/66-noto-serif.conf)
noto-fonts/repos/testing-any/PKGBUILD
(from rev 410800, noto-fonts/trunk/PKGBUILD)
--------------------+
46-noto-mono.conf | 10 ++++++++
46-noto-sans.conf | 10 ++++++++
46-noto-serif.conf | 10 ++++++++
66-noto-mono.conf | 10 ++++++++
66-noto-sans.conf | 10 ++++++++
66-noto-serif.conf | 10 ++++++++
PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 118 insertions(+)
Copied: noto-fonts/repos/testing-any/46-noto-mono.conf (from rev 410800, noto-fonts/trunk/46-noto-mono.conf)
===================================================================
--- testing-any/46-noto-mono.conf (rev 0)
+++ testing-any/46-noto-mono.conf 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>Noto Sans Mono</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
Copied: noto-fonts/repos/testing-any/46-noto-sans.conf (from rev 410800, noto-fonts/trunk/46-noto-sans.conf)
===================================================================
--- testing-any/46-noto-sans.conf (rev 0)
+++ testing-any/46-noto-sans.conf 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>Noto Sans</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
Copied: noto-fonts/repos/testing-any/46-noto-serif.conf (from rev 410800, noto-fonts/trunk/46-noto-serif.conf)
===================================================================
--- testing-any/46-noto-serif.conf (rev 0)
+++ testing-any/46-noto-serif.conf 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>Noto Serif</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
Copied: noto-fonts/repos/testing-any/66-noto-mono.conf (from rev 410800, noto-fonts/trunk/66-noto-mono.conf)
===================================================================
--- testing-any/66-noto-mono.conf (rev 0)
+++ testing-any/66-noto-mono.conf 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Noto Sans Mono</family>
+ </prefer>
+ </alias>
+</fontconfig>
Copied: noto-fonts/repos/testing-any/66-noto-sans.conf (from rev 410800, noto-fonts/trunk/66-noto-sans.conf)
===================================================================
--- testing-any/66-noto-sans.conf (rev 0)
+++ testing-any/66-noto-sans.conf 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Noto Sans</family>
+ </prefer>
+ </alias>
+</fontconfig>
Copied: noto-fonts/repos/testing-any/66-noto-serif.conf (from rev 410800, noto-fonts/trunk/66-noto-serif.conf)
===================================================================
--- testing-any/66-noto-serif.conf (rev 0)
+++ testing-any/66-noto-serif.conf 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Noto Serif</family>
+ </prefer>
+ </alias>
+</fontconfig>
Copied: noto-fonts/repos/testing-any/PKGBUILD (from rev 410800, noto-fonts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2021-03-23 21:00:47 UTC (rev 410801)
@@ -0,0 +1,58 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=noto-fonts
+pkgname=(noto-fonts noto-fonts-extra ttf-croscore)
+pkgver=20201226
+_commit=2b1fbc36600ccd8becb9f894922f644bff2cbc9b
+pkgrel=2
+pkgdesc="Google Noto TTF fonts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(custom:SIL)
+source=("$pkgbase-$_commit.tar.gz::https://github.com/googlei18n/noto-fonts/archive/$_commit.tar.gz"
+ 66-noto-sans.conf 66-noto-serif.conf 66-noto-mono.conf
+ 46-noto-sans.conf 46-noto-serif.conf 46-noto-mono.conf)
+sha256sums=('7ef8fc4b10f869de28cfcf3d6cf53345949ed7335d79472810d31787d8aba719'
+ '52684bebf6447be22618d2a04ff37623ec92f9d8ccf6b6f972e5bcbcfee90d69'
+ '4459944b63dc083107280f5d7375c69746bf80a09416a4a4909a100e58e5a33a'
+ '4526289f59654e2a81dc734669a1ae4e416f9a56d0896ec3741c6bf065baf8a8'
+ '83a8faf6a47954075f97a2d555048e2a6689c38603b2ca00150157bf645f4593'
+ 'c94368b24506770767d003e5bcba589a8e402e489c240ee52453bf3ac7e9b5fa'
+ 'f5c09b37280d7569b6c99a78511639be4ae25b8c5406464422fe0421fe13a884')
+
+package_noto-fonts() {
+ optdepends=('noto-fonts-cjk: CJK characters' 'noto-fonts-emoji: Emoji characters'
+ 'noto-fonts-extra: additional variants (condensed, semi-bold, extra-light)')
+ provides=(ttf-font)
+
+ cd $pkgbase-*/
+ install -Dm644 unhinted/ttf/Noto*/*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
+ install -Dm644 hinted/ttf/Noto*/*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/noto-fonts
+
+ # Move to noto-fonts-extra
+ rm -f "$pkgdir"/usr/share/fonts/noto/Noto*{Condensed,SemiBold,Extra}*.ttf
+
+ # Install fontconfig files
+ install -Dm644 "$srcdir"/*.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
+}
+
+package_noto-fonts-extra() {
+ pkgdesc+=' - additional variants'
+ depends=(noto-fonts)
+
+ cd $pkgbase-*/
+ mkdir -p "$pkgdir"/usr/share/fonts/noto
+ cp hinted/ttf/Noto*/*{Condensed,SemiBold,Extra}*.tt[fc] "$pkgdir"/usr/share/fonts/noto
+}
+
+package_ttf-croscore() {
+ pkgdesc='Chrome OS core fonts'
+ provides=(ttf-font)
+
+ cd $pkgbase-*/
+ install -Dm644 hinted/ttf/{Arimo,Cousine,Tinos}/*.ttf -t "$pkgdir"/usr/share/fonts/croscore
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/ttf-croscore
+}
More information about the arch-commits
mailing list