-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolortbl-scm-1.rockspec
47 lines (39 loc) · 1.01 KB
/
colortbl-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
local git_ref = 'scm'
local modrev = git_ref
local specrev = '1'
local repo_url = 'https://ctan.org/pkg/colortbl'
rockspec_format = '3.0'
package = 'colortbl'
version = modrev .. '-' .. specrev
description = {
summary = 'Add colour to LaTeX tables',
detailed =
[[The package allows rows and columns to be coloured, and even individual cells.]],
labels = { 'tex', 'latex' },
homepage = repo_url,
license = 'LPPL-1.0'
}
source = {
url = repo_url .. '/archive/' .. git_ref .. '.zip',
dir = package .. '-' .. modrev,
}
if modrev == 'scm' or modrev == 'dev' then
source = {
url = 'https://mirrors.ctan.org/macros/latex/contrib/colortbl.zip',
dir = 'colortbl'
}
end
build_dependencies = { 'lualatex' }
dependencies = { 'latex-tools' }
build = {
type = 'command',
build_command = [[
lualatex --interaction=nonstopmode colortbl.ins
]],
install = {
conf = {
['../tex/latex/colortbl/colortbl.sty'] = 'colortbl.sty',
['../doc/latex/colortbl/colortbl.pdf'] = 'colortbl.pdf',
}
}
}