-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrockspec.in
31 lines (31 loc) · 870 Bytes
/
rockspec.in
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
package = "html2cmark"
version = "_VERSION-_REVISION"
source = {
url = "git://github.com/jgm/html2cmark",
tag = "_VERSION"
}
description = {
summary = [[Convert HTML to Markdown]],
detailed = [[html2cmark provides a library and command line program
for converting HTML to Markdown. The output is CommonMark but should
be compatible with most flavors of Markdown. libgumbo is used for
parsing HTML, and libcmark for rendering CommonMark.]],
homepage = "https://github.com/jgm/html2cmark",
license = "BSD2",
maintainer = "John MacFarlane <jgm@berkeley.edu>",
}
dependencies = {
"lua >= 5.2",
"cmark >= 0.29",
"gumbo >= 0.5",
"optparse >= 1.0.1",
}
build = {
type = "builtin",
modules = {
html2cmark = "html2cmark.lua"
},
install = {
bin = { html2cmark = "bin/html2cmark" }
}
}