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 /PKGBUILD | |
download | aur-350cea0323cd642dac126c981ca25e25355da89e.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
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 +} |