-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfwarerr-scm-1.rockspec
37 lines (30 loc) · 1 KB
/
infwarerr-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://github.com/ho-tex/infwarerr'
rockspec_format = '3.0'
package = 'infwarerr'
version = modrev .. '-' .. specrev
dependencies = {}
description = {
summary = 'Complete set of information/warning/error message macros',
detailed =
[[This package provides a complete set of macros for information, warning and error messages. Under LaTeX, the commands are wrappers for the corresponding LaTeX commands; under Plain TeX they are available as complete implementations.]],
labels = { 'tex', 'plaintex', 'latex' },
homepage = repo_url,
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/infwarerr.tds.zip',
dir = '.'
}
end
build = {
type = 'none',
copy_directories = { 'doc', 'tex' },
}