-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfourier-scm-1.rockspec
51 lines (41 loc) · 1.66 KB
/
fourier-scm-1.rockspec
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
local git_ref = 'scm'
local modrev = git_ref
local specrev = '1'
local repo_url = 'https://ctan.org/pkg/fourier'
rockspec_format = '3.0'
package = 'fourier'
version = modrev .. '-' .. specrev
description = {
summary = [[Using Utopia fonts in LaTeX documents]],
detailed =
[[Fourier-GUTenberg is a LaTeX typesetting system which uses Adobe Utopia as its standard base font. Fourier-GUTenberg provides all complementary typefaces needed to allow Utopia based TeX typesetting, including an extensive mathematics set and several other symbols. The system is absolutely stand-alone: apart from Utopia and Fourier, no other typefaces are required.
The fourier fonts will also work with Adobe Utopia Expert fonts, which are only available for purchase.
Utopia is a registered trademark of Adobe Systems Incorporated.]],
labels = { 'tex', 'latex' },
homepage = repo_url,
license = 'LPPL-1.0'
}
build_dependencies = { 'lualatex', 'texrocks', 'latex-base' }
dependencies = { 'iftex', 'latex-base', 'fontspec' }
source = {
url = repo_url .. '/archive/' .. git_ref .. '.zip',
dir = package .. '-' .. modrev,
}
if modrev == 'scm' or modrev == 'dev' then
source = {
url = 'https://mirrors.ctan.org/fonts/fourier-GUT.zip',
}
end
build = {
type = 'command',
copy_directories = { 'doc', 'fonts', 'tex' },
build_command = [[
install -Dm644 afm/* -t fonts/afm/fourier
install -Dm644 tfm/* -t fonts/tfm/fourier
install -Dm644 vf/* -t fonts/vf/fourier
install -Dm644 type1/* -t fonts/type1/fourier
install -Dm644 map/* -t fonts/map/fourier
install -Dm644 opentype/* -t fonts/opentype/fourier
install -Dm644 latex/* -t tex/latex/fourier
]],
}