blob: 12fbf24e9e83ab0e950b49632bc0f08770ef38c0 (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# Maintainer: Pedro A. López-Valencia <https://aur.archlinux.org/user/toropisco>
pkgname=('ttf-literata' 'ttf-literata-opticals' 'ttf-literata-webfonts' 'ttf-literata-webfont-opticals')
pkgbase=ttf-literata
pkgver=3.103
pkgrel=4
pkgdesc="Google's contemporary serif typeface family for long-form reading; default typeface for Play Books. Truetype, open source (OFL) distribution."
arch=('any')
url="https://github.com/googlefonts/literata"
license=('custom:OFL')
replaces=('otf-literata')
source=("literata-$pkgver.zip::https://github.com/googlefonts/literata/releases/download/$pkgver/$pkgver.zip"
"https://raw.githubusercontent.com/googlefonts/literata/main/OFL.txt")
b2sums=('d626f872310c6e857d0ba2d8751cbade216d3b232457bb16dc1268ea6529476b78ac71a12038bc6a775d2d474bc2d64559d65987250a3b384eb8566f60466cbe'
'2a91a436d60192c0794f4114ef755a23f99a062b1485f96ee4196f862cd8c022079cbb2310d3406dc5059a01d6986663e7ecf2411a52d2d5425cbe07301bc2d6')
package_ttf-literata() {
pkgname='ttf-literata'
pkgdesc="Google's default typeface for Play Books. Truetype variable fonts, open source (OFL) distribution."
cd "$srcdir"
conflicts=('ttf-literata-opticals')
provides=('ttf-literata-opticals')
replaces=('ttf-literata-opticals')
install -dm755 "$pkgdir/usr/share/fonts/TTF/literata-variable"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -m644 fonts/variable/Literata*.ttf "$pkgdir/usr/share/fonts/TTF/literata-variable"
install -m644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname"
}
package_ttf-literata-opticals() {
pkgname='ttf-literata-opticals'
pkgdesc="Google's default typeface for Play Books. Truetype in optical sizes, open source (OFL) distribution."
conflicts=('ttf-literata')
provides=('ttf-literata')
replaces=('ttf-literata')
cd "$srcdir"
install -dm755 "$pkgdir/usr/share/fonts/TTF/literata-opticals"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -m644 fonts/ttf/Literata*.ttf "$pkgdir/usr/share/fonts/TTF/literata-opticals"
install -m644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname"
}
package_ttf-literata-webfonts() {
pkgname='ttf-literata-webfonts'
pkgdesc="Google's default typeface for Play Books. Truetype variable webfonts, open source (OFL) distribution."
conflicts=('ttf-literata-webfonts-opticals' 'ttf-literata-webfont-opticals')
provides=('ttf-literata-webfonts-opticals' 'ttf-literata-webfont-opticals')
replaces=('ttf-literata-webfonts-opticals' 'ttf-literata-webfont-opticals')
cd "$srcdir"
install -dm755 "$pkgdir/usr/share/literata-variable-webfonts"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -m644 fonts/webfonts/Literata[opsz,wght].woff2 "$pkgdir/usr/share/literata-variable-webfonts"
install -m644 fonts/webfonts/Literata-Italic[opsz,wght].woff2 "$pkgdir/usr/share/literata-variable-webfonts"
install -m644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname"
}
package_ttf-literata-webfont-opticals() {
pkgname='ttf-literata-webfont-opticals'
pkgdesc="Google's default typeface for Play Books. Truetype webfonts in optical sizes, open source (OFL) distribution."
conflicts=('ttf-literata-webfonts-opticals')
provides=('ttf-literata-webfonts-opticals')
replaces=('ttf-literata-webfonts-opticals')
cd "$srcdir"
install -dm755 "$pkgdir/usr/share/literata-webfont-opticals"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
install -m644 fonts/webfonts/Literata{,7pt,36pt,72pt}-*.woff2 "$pkgdir/usr/share/literata-webfont-opticals"
rm "$pkgdir/usr/share/literata-webfont-opticals/Literata-Italic[opsz,wght].woff2"
install -m644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname"
}
|