-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheveryshi-scm-1.rockspec
47 lines (39 loc) · 1.41 KB
/
everyshi-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/everyshi'
rockspec_format = '3.0'
package = 'everyshi'
version = modrev .. '-' .. specrev
description = {
summary = [[Take action at every \shipout]],
detailed =
[[This package provides hooks into \sshipout called \EveryShipout and \AtNextShipout analogous to \AtBeginDocument.
With the introduction of the LaTeX hook management this package became obsolete in 2020 and is only provided for backwards compatibility. For current versions of LaTeX it is only mapping the hooks to the original everyshi macros. In case you use an older LaTeX format, everyshi will automatically fall back to its old implementation by loading everyshi-2001-05-15.]],
labels = { 'tex', 'latex' },
homepage = repo_url,
license = 'LPPL-1.3c'
}
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/everyshi.zip',
}
end
build_dependencies = { 'lualatex', 'texrocks', 'latex-base' }
build = {
type = 'command',
build_command = [[
texrocks install &&
lualatex --interaction=nonstopmode everyshi.ins
]],
install = {
conf = {
['../doc/latex/everyshi/everyshi.pdf'] = 'everyshi.pdf',
['../tex/latex/everyshi/everyshi.sty'] = 'everyshi.sty',
}
}
}