-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhologo-scm-1.rockspec
48 lines (40 loc) · 1.27 KB
/
hologo-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
local git_ref = 'scm'
local modrev = git_ref
local specrev = '1'
local repo_url = 'https://ctan.org/pkg/hologo'
rockspec_format = '3.0'
package = 'hologo'
version = modrev .. '-' .. specrev
description = {
summary = [[A collection of logos with bookmark support]],
detailed =
[[The package defines a single command \hologo, whose argument is the usual case-confused ASCII version of the logo. The command is bookmark-enabled, so that every logo becomes available in bookmarks without further work.]],
labels = { 'tex', 'latex' },
homepage = 'https://github.com/ho-tex/hologo',
license = 'LPPL-1.3c'
}
build_dependencies = { 'luatex', 'texrocks', 'latex-base' }
dependencies = { 'ltxcmds', 'infwarerr', 'kvsetkeys', 'kvdefinekeys',
'pdftexcmds', 'iftex', 'kvoptions' }
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/generic/hologo.zip',
}
end
build = {
type = 'command',
build_command = [[
texrocks install &&
luatex --interaction=nonstopmode hologo.dtx
]],
install = {
conf = {
['../doc/latex/hologo/hologo.pdf'] = 'hologo.pdf',
['../tex/latex/hologo/hologo.sty'] = 'hologo.sty',
}
}
}