summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRocka2023-10-20 19:42:32 +0800
committerRocka2023-10-20 19:42:32 +0800
commit1882e138280b8f8666de2960ba225ac139eb79c1 (patch)
tree26409b608946c5b6eb76a56f3fa391d4e7824d09
downloadaur-ttf-go-noto-universal-temporal.tar.gz
init
-rw-r--r--.SRCINFO24
-rw-r--r--.gitignore4
-rw-r--r--10-go-noto-current.conf21
-rw-r--r--46-go-noto-universal-temporal.conf28
-rw-r--r--66-go-noto-universal-temporal.conf28
-rw-r--r--PKGBUILD30
6 files changed, 135 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..32e5e9ed7757
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = ttf-go-noto-universal-temporal
+ pkgdesc = Noto fonts go universal! Merged Noto fonts according to time of usage.
+ pkgver = 7.0
+ pkgrel = 1
+ url = https://github.com/satbyy/go-noto-universal
+ arch = any
+ source = https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoCurrent-Regular.ttf
+ source = https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoCurrent-Bold.ttf
+ source = https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoCurrentSerif.ttf
+ source = https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoAncient.ttf
+ source = https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoAncientSerif.ttf
+ source = 10-go-noto-current.conf
+ source = 46-go-noto-universal-temporal.conf
+ source = 66-go-noto-universal-temporal.conf
+ sha256sums = 882afbab965608c2d2bc627fd8016b962aa5a6be2d358f9de24a7b5967c5632e
+ sha256sums = 5ebee1a38f7ef50d6c38263af5522f7518d30abf30d355a8c7c4eb314751ebc2
+ sha256sums = d656d56938493cafc10500bcc988b9ebfe4866f66a25a8a6f9653837a7b02e41
+ sha256sums = 07e24101c936b67581c5c44a7582adbd616ab4f9da88a5cec855d2eaf68e7578
+ sha256sums = 38b86d5bd172e81aad7f84a2a6ccba5e341879409ed5c7a958f8713e5da4848b
+ sha256sums = f036034706585469ca67c28f1470b94037a21a953fafa9c5ef850d19ac2d0406
+ sha256sums = 3a3a2bdeb5f3f02310978810e3907c7f7aaf2194e9b8c68e40dd7c9fae3540af
+ sha256sums = 4363f20915f020d30f404dc8ec920a3ffc159ad419c94c8a760d0f5fd0827c81
+
+pkgname = ttf-go-noto-universal-temporal
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..042f6f571b64
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.pkg.tar*
+pkg/
+src/
+*.ttf
diff --git a/10-go-noto-current.conf b/10-go-noto-current.conf
new file mode 100644
index 000000000000..1e72de1dc6c9
--- /dev/null
+++ b/10-go-noto-current.conf
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
+<fontconfig>
+ <!-- Fix "Go Noto Current" font family name -->
+ <match target="scan">
+ <test name="family">
+ <string>Go Noto Current-Regular</string>
+ </test>
+ <edit name="family">
+ <string>Go Noto Current</string>
+ </edit>
+ </match>
+ <match target="scan">
+ <test name="family">
+ <string>Go Noto Current-Bold</string>
+ </test>
+ <edit name="family">
+ <string>Go Noto Current</string>
+ </edit>
+ </match>
+</fontconfig> \ No newline at end of file
diff --git a/46-go-noto-universal-temporal.conf b/46-go-noto-universal-temporal.conf
new file mode 100644
index 000000000000..b0285e7d0b59
--- /dev/null
+++ b/46-go-noto-universal-temporal.conf
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>Go Noto Ancient</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+ <alias>
+ <family>Go Noto Current</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+ <alias>
+ <family>Go Noto Ancient Serif</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+ <alias>
+ <family>Go Noto Current Serif</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/66-go-noto-universal-temporal.conf b/66-go-noto-universal-temporal.conf
new file mode 100644
index 000000000000..58a28d83973e
--- /dev/null
+++ b/66-go-noto-universal-temporal.conf
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Go Noto Ancient</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Go Noto Current</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Go Noto Ancient Serif</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Go Noto Current Serif</family>
+ </prefer>
+ </alias>
+</fontconfig>
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..8b7c90b8c77a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=ttf-go-noto-universal-temporal
+pkgver=7.0
+pkgrel=1
+pkgdesc='Noto fonts go universal! Merged Noto fonts according to time of usage.'
+arch=(any)
+url='https://github.com/satbyy/go-noto-universal'
+source=(https://github.com/satbyy/go-noto-universal/releases/download/v${pkgver}/GoNotoCurrent-Regular.ttf
+ https://github.com/satbyy/go-noto-universal/releases/download/v${pkgver}/GoNotoCurrent-Bold.ttf
+ https://github.com/satbyy/go-noto-universal/releases/download/v${pkgver}/GoNotoCurrentSerif.ttf
+ https://github.com/satbyy/go-noto-universal/releases/download/v${pkgver}/GoNotoAncient.ttf
+ https://github.com/satbyy/go-noto-universal/releases/download/v${pkgver}/GoNotoAncientSerif.ttf
+ 10-go-noto-current.conf
+ 46-go-noto-universal-temporal.conf
+ 66-go-noto-universal-temporal.conf)
+sha256sums=('882afbab965608c2d2bc627fd8016b962aa5a6be2d358f9de24a7b5967c5632e'
+ '5ebee1a38f7ef50d6c38263af5522f7518d30abf30d355a8c7c4eb314751ebc2'
+ 'd656d56938493cafc10500bcc988b9ebfe4866f66a25a8a6f9653837a7b02e41'
+ '07e24101c936b67581c5c44a7582adbd616ab4f9da88a5cec855d2eaf68e7578'
+ '38b86d5bd172e81aad7f84a2a6ccba5e341879409ed5c7a958f8713e5da4848b'
+ 'c4c4f09ff52fd81f3a007ed67b9af5488ac2079dac11eb3c0e1b7754da800f81'
+ '3a3a2bdeb5f3f02310978810e3907c7f7aaf2194e9b8c68e40dd7c9fae3540af'
+ '4363f20915f020d30f404dc8ec920a3ffc159ad419c94c8a760d0f5fd0827c81')
+
+package() {
+ install -Dm644 GoNoto*.ttf -t "$pkgdir"/usr/share/fonts/go-noto-universal
+
+ install -Dm644 "$srcdir"/*-go-noto-*.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
+}