blob: 6db96da92eaed0e817f0cc168e6cd82101a71334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Olivier Churlaud <olivier@churlaud.com>
# Contributor: Antonio Rojas <arojas@archlinux.org>
pkgname=noto-fonts-latin-greek-cyrillic
provides=('noto-fonts')
conflicts=('noto-fonts')
epoch=1
pkgver=2.014
pkgrel=1
pkgdesc='Google Noto TTF fonts Latin/Greek/Cyrillic'
arch=(any)
url='https://fonts.google.com/noto'
license=(custom:SIL)
source=(https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSans-v$pkgver/NotoSans-v$pkgver.zip
https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSansMono-v$pkgver/NotoSansMono-v$pkgver.zip
https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSerif-v$pkgver/NotoSerif-v$pkgver.zip
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=('1dffbaf31a0a699ee2c57dfb60c1a628010425301dd076cfb485adbe017352c1'
'090cf6c5e03f337a755630ca888b1fef463e64ae7b33ee134e9309c05f978732'
'6abce0a80df4ef6d5a944d60c81099364481d6a7015b0721d87bc4c16acc1fd3'
'52684bebf6447be22618d2a04ff37623ec92f9d8ccf6b6f972e5bcbcfee90d69'
'4459944b63dc083107280f5d7375c69746bf80a09416a4a4909a100e58e5a33a'
'4526289f59654e2a81dc734669a1ae4e416f9a56d0896ec3741c6bf065baf8a8'
'83a8faf6a47954075f97a2d555048e2a6689c38603b2ca00150157bf645f4593'
'c94368b24506770767d003e5bcba589a8e402e489c240ee52453bf3ac7e9b5fa'
'f5c09b37280d7569b6c99a78511639be4ae25b8c5406464422fe0421fe13a884')
fonts=(NotoSans
NotoSansMono
NotoSerif)
package() {
optdepends=('noto-fonts-cjk: CJK characters' 'noto-fonts-emoji: Emoji characters'
'noto-fonts-extra: additional variants (condensed, semi-bold, extra-light)')
provides=(ttf-font
noto-fonts)
for fontname in "${fonts[@]}" ; do
echo "installing $fontname"
install -Dm644 $fontname/hinted/ttf/*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
install -Dm644 OFL.txt -T "$pkgdir"/usr/share/licenses/noto-fonts/LICENSE
done
# Move to noto-fonts-extra
rm -f "$pkgdir"/usr/share/fonts/noto/Noto*{-Condensed,-Semi,-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)
#
# for fontname in $fonts ; do
# install -Dm644 $fontname/hinted/ttf/*{-Condensed,-Semi,-Extra}*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
# done
#}
|