-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgincltex-scm-1.rockspec
39 lines (31 loc) · 1.23 KB
/
gincltex-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
local git_ref = 'scm'
local modrev = git_ref:gsub('v', '')
local specrev = '1'
local repo_url = 'https://github.com/MartinScharrer/gincltex'
rockspec_format = '3.0'
package = 'gincltex'
version = modrev .. '-' .. specrev
dependencies = { 'adjustbox', 'svn-prov' }
description = {
summary = [[Include TeX files as graphics (.tex support for \includegraphics)]],
detailed =
[[The package builds on the standard LaTeX packages graphics and/or graphicx and allows external LaTeX source files to be included, in the same way as graphic files, by \includegraphics. In effect, then package adds support for the .tex extension.
Some of the lower level operations like clipping and trimming are implemented using the adjustbox package which includes native pdfLaTeX support and uses the pgf package for other output formats.]],
labels = { 'tex', 'latex' },
homepage = repo_url,
license = 'LPPL-1.3'
}
source = {
url = repo_url .. '/releases/download/' .. git_ref .. '/' .. package .. '.tds.zip',
dir = '.'
}
if modrev == 'scm' or modrev == 'dev' then
source = {
url = 'https://mirrors.ctan.org/install/macros/latex/contrib/gincltex.tds.zip',
dir = '.'
}
end
build = {
type = 'builtin',
copy_directories = { 'doc', 'tex' },
}