-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathetexcmds-scm-1.rockspec
37 lines (30 loc) · 1.03 KB
/
etexcmds-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
local git_ref = 'scm'
local modrev = git_ref
local specrev = '1'
local repo_url = 'https://ctan.org/pkg/etexcmds'
rockspec_format = '3.0'
package = 'etexcmds'
version = modrev .. '-' .. specrev
dependencies = { 'iftex', 'infwarerr' }
description = {
summary = 'Avoid name clashes with e-TeX commands',
detailed =
[[New primitive commands are introduced in e-TeX; sometimes the names collide with existing macros. This package solves the name clashes by adding a prefix to e-TeX’s commands. For example, ε-TeX’s \unexpanded is provided as \etex@unexpanded.]],
labels = { 'tex', 'latex' },
homepage = 'https://github.com/ho-tex/etexcmds',
license = 'LPPL-1.3c'
}
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/install/macros/latex/contrib/etexcmds.tds.zip',
dir = '.'
}
end
build = {
type = 'none',
copy_directories = { 'doc', 'tex' },
}