diff options
author | Rocka | 2023-10-20 20:13:48 +0800 |
---|---|---|
committer | Rocka | 2023-10-20 20:13:48 +0800 |
commit | 350cea0323cd642dac126c981ca25e25355da89e (patch) | |
tree | ed0c68bd3f2c490e26953892c20ec226e132d347 | |
download | aur-350cea0323cd642dac126c981ca25e25355da89e.tar.gz |
init
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | 46-noto-sans-mono.conf | 10 | ||||
-rw-r--r-- | 46-noto-sans.conf | 10 | ||||
-rw-r--r-- | 46-noto-serif.conf | 10 | ||||
-rw-r--r-- | 66-noto-sans-mono.conf | 10 | ||||
-rw-r--r-- | 66-noto-sans.conf | 10 | ||||
-rw-r--r-- | 66-noto-serif.conf | 10 | ||||
-rw-r--r-- | PKGBUILD | 54 |
9 files changed, 150 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f45cbb3a89c2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = ttf-noto-vf + pkgver = 23.10.1 + pkgrel = 1 + url = https://fonts.google.com/noto + arch = any + license = custom:SIL + provides = ttf-font + provides = noto-fonts + provides = noto-fonts-extra + source = https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-23.10.1.tar.gz + source = 46-noto-sans.conf + source = 46-noto-serif.conf + source = 46-noto-sans-mono.conf + source = 66-noto-sans.conf + source = 66-noto-serif.conf + source = 66-noto-sans-mono.conf + sha256sums = 3f1a466062552ccc45619b616a5a6171a064783f538f11495df36db7e6263ddd + sha256sums = 83a8faf6a47954075f97a2d555048e2a6689c38603b2ca00150157bf645f4593 + sha256sums = c94368b24506770767d003e5bcba589a8e402e489c240ee52453bf3ac7e9b5fa + sha256sums = f5c09b37280d7569b6c99a78511639be4ae25b8c5406464422fe0421fe13a884 + sha256sums = 52684bebf6447be22618d2a04ff37623ec92f9d8ccf6b6f972e5bcbcfee90d69 + sha256sums = 4459944b63dc083107280f5d7375c69746bf80a09416a4a4909a100e58e5a33a + sha256sums = 4526289f59654e2a81dc734669a1ae4e416f9a56d0896ec3741c6bf065baf8a8 + +pkgname = ttf-noto-sans-vf + pkgdesc = Google Noto Sans font (Variable weight and width, TTF) + +pkgname = ttf-noto-serif-vf + pkgdesc = Google Noto Serif font (Variable weight and width, TTF) + +pkgname = ttf-noto-sans-mono-vf + pkgdesc = Google Noto Sans Mono font (Variable weight and width, TTF) diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..03e9b8828662 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.pkg.tar* +*.tar.gz diff --git a/46-noto-sans-mono.conf b/46-noto-sans-mono.conf new file mode 100644 index 000000000000..6740c5f1f87d --- /dev/null +++ b/46-noto-sans-mono.conf @@ -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> diff --git a/46-noto-sans.conf b/46-noto-sans.conf new file mode 100644 index 000000000000..fb2825f053e7 --- /dev/null +++ b/46-noto-sans.conf @@ -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> diff --git a/46-noto-serif.conf b/46-noto-serif.conf new file mode 100644 index 000000000000..d06c02d696e5 --- /dev/null +++ b/46-noto-serif.conf @@ -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> diff --git a/66-noto-sans-mono.conf b/66-noto-sans-mono.conf new file mode 100644 index 000000000000..25612497fcab --- /dev/null +++ b/66-noto-sans-mono.conf @@ -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> diff --git a/66-noto-sans.conf b/66-noto-sans.conf new file mode 100644 index 000000000000..6c86c4a0535f --- /dev/null +++ b/66-noto-sans.conf @@ -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> diff --git a/66-noto-serif.conf b/66-noto-serif.conf new file mode 100644 index 000000000000..a503043ae956 --- /dev/null +++ b/66-noto-serif.conf @@ -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> diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c537ac043b12 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +pkgbase=ttf-noto-vf +pkgname=(ttf-noto-{sans,serif,sans-mono}-vf) +pkgver=23.10.1 +pkgrel=1 +provides=(ttf-font noto-fonts noto-fonts-extra) +arch=(any) +url='https://fonts.google.com/noto' +license=(custom:SIL) +source=(https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-$pkgver.tar.gz + 46-noto-sans.conf 46-noto-serif.conf 46-noto-sans-mono.conf + 66-noto-sans.conf 66-noto-serif.conf 66-noto-sans-mono.conf) +sha256sums=('3f1a466062552ccc45619b616a5a6171a064783f538f11495df36db7e6263ddd' + '83a8faf6a47954075f97a2d555048e2a6689c38603b2ca00150157bf645f4593' + 'c94368b24506770767d003e5bcba589a8e402e489c240ee52453bf3ac7e9b5fa' + 'f5c09b37280d7569b6c99a78511639be4ae25b8c5406464422fe0421fe13a884' + '52684bebf6447be22618d2a04ff37623ec92f9d8ccf6b6f972e5bcbcfee90d69' + '4459944b63dc083107280f5d7375c69746bf80a09416a4a4909a100e58e5a33a' + '4526289f59654e2a81dc734669a1ae4e416f9a56d0896ec3741c6bf065baf8a8') + +package_ttf-noto-sans-vf() { + pkgdesc=' Google Noto Sans font (Variable weight and width, TTF)' + + cd notofonts.github.io-noto-monthly-release-$pkgver + install -Dm644 fonts/NotoSans/full/variable-ttf/*.ttf -t "$pkgdir"/usr/share/fonts/noto + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname + + install -Dm644 "$srcdir"/*-noto-sans.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_ttf-noto-serif-vf() { + pkgdesc=' Google Noto Serif font (Variable weight and width, TTF)' + + cd notofonts.github.io-noto-monthly-release-$pkgver + install -Dm644 fonts/NotoSerif/unhinted/variable-ttf/*.ttf -t "$pkgdir"/usr/share/fonts/noto + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname + + install -Dm644 "$srcdir"/*-noto-serif.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_ttf-noto-sans-mono-vf() { + pkgdesc=' Google Noto Sans Mono font (Variable weight and width, TTF)' + + cd notofonts.github.io-noto-monthly-release-$pkgver + install -Dm644 fonts/NotoSansMono/unhinted/variable-ttf/*.ttf -t "$pkgdir"/usr/share/fonts/noto + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname + + install -Dm644 "$srcdir"/*-noto-sans-mono.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 +} |