-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatveryend-scm-1.rockspec
45 lines (38 loc) · 1.07 KB
/
atveryend-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
local git_ref = 'scm'
local modrev = git_ref
local specrev = '1'
local repo_url = 'https://github.com/ho-tex/atveryend'
rockspec_format = '3.0'
package = 'atveryend'
version = modrev .. '-' .. specrev
description = {
summary = 'Hooks at the very end of a document',
detailed =
[[This LaTeX package provides some wrapper commands around LaTeX end document hooks.]],
labels = { 'tex', 'latex' },
homepage = repo_url,
license = 'LPPL-1.3c'
}
build_dependencies = { 'luatex', 'texrocks', 'latex-base' }
source = {
url = repo_url .. '/releases/download/release-' .. git_ref .. '-PL' .. specrev .. '/' .. package .. '.tds.zip',
dir = '.'
}
if modrev == 'scm' or modrev == 'dev' then
source = {
url = 'https://mirrors.ctan.org/macros/latex/contrib/atveryend.zip',
}
end
build = {
type = 'command',
build_command = [[
texrocks install &&
luatex --interaction=nonstopmode atveryend.dtx
]],
install = {
conf = {
['../doc/latex/atveryend/atveryend.pdf'] = 'atveryend.pdf',
['../tex/latex/atveryend/atveryend.sty'] = 'atveryend.sty',
}
}
}