1local fonts = {
2 'SourceCodePro-Black',
3 'SourceCodePro-BlackIt',
4 'SourceCodePro-Bold',
5 'SourceCodePro-BoldIt',
6 'SourceCodePro-ExtraLight',
7 'SourceCodePro-ExtraLightIt',
8 'SourceCodePro-It',
9 'SourceCodePro-Light',
10 'SourceCodePro-LightIt',
11 'SourceCodePro-Medium',
12 'SourceCodePro-MediumIt',
13 'SourceCodePro-Regular',
14 'SourceCodePro-Semibold',
15 'SourceCodePro-SemiboldIt',
16
17 'SourceSans3-Black',
18 'SourceSans3-BlackIt',
19 'SourceSans3-Bold',
20 'SourceSans3-BoldIt',
21 'SourceSans3-ExtraLight',
22 'SourceSans3-ExtraLightIt',
23 'SourceSans3-It',
24 'SourceSans3-Light',
25 'SourceSans3-LightIt',
26 'SourceSans3-Regular',
27 'SourceSans3-Semibold',
28 'SourceSans3-SemiboldIt',
29
30 'SourceSerif4-Black',
31 'SourceSerif4-BlackIt',
32 'SourceSerif4-Bold',
33 'SourceSerif4-BoldIt',
34 'SourceSerif4-ExtraLight',
35 'SourceSerif4-ExtraLightIt',
36 'SourceSerif4-It',
37 'SourceSerif4-Light',
38 'SourceSerif4-LightIt',
39 'SourceSerif4-Regular',
40 'SourceSerif4-Semibold',
41 'SourceSerif4-SemiboldIt',
42}
43
44for _, font in ipairs(fonts) do
45 local path = ('share/fonts/%s.otf'):format(font)
46 local src = ('$srcdir/OTF/%s.otf'):format(font)
47 file(path, '644', src)
48end
49
50fetch 'curl'