Skip to content

Commit 70a8819

Browse files
committed
rockspec
1 parent 91c310a commit 70a8819

1 file changed

Lines changed: 67 additions & 33 deletions

File tree

word-scm-1.rockspec

Lines changed: 67 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,83 @@
11
local MODREV, SPECREV = "scm", "-1"
2-
local account = "clpi"
3-
local repo = "word.lua"
2+
maintainer = "clpi"
3+
license = "MIT"
4+
detailed = [[
5+
Extensibility of org, comfort of markdown, for everyone
6+
]]
7+
description = [[
8+
Extensibility of org, comfort of markdown, for everyone
9+
]]
10+
labels = {
11+
"wiki",
12+
"neovim",
13+
"note",
14+
"capture",
15+
"obsidian",
16+
"org",
17+
"markdown",
18+
"vim",
19+
"nvim",
20+
"telekasten",
21+
"plugin",
22+
"org-mode",
23+
}
24+
summary = "Extensibility of org, comfort of markdown, for everyone"
425
rockspec_format = "3.0"
5-
package = "word.lua"
626
version = MODREV .. SPECREV
27+
branch = "master"
28+
tag = "v0.1.1-alpha"
29+
local package_name = "word.lua"
30+
local github_url = "https://github.com/"
31+
.. maintainer
32+
.. "/"
33+
.. package_name
34+
.. ".git"
35+
local github_wiki_url = "https://github.com/"
36+
.. maintainer
37+
.. "/"
38+
.. package_name
39+
.. "/wiki"
40+
local github_issues_url = "https://github.com/"
41+
.. maintainer
42+
.. "/"
43+
.. package_name
44+
.. "/issues"
45+
local github_git_url = "git://github.com/"
46+
.. maintainer
47+
.. "/"
48+
.. package_name
49+
.. ".git"
50+
local maintainer_url = "https://github.com/" .. maintainer
51+
homepage = "https://word.cli.st"
752

853
source = {
9-
url = "git://github.com/" .. account .. "/" .. repo .. ".git",
10-
branch = "master",
11-
version = "0.1.0-alpha",
12-
tag = "0.1.0-alpha",
54+
url = github_url,
55+
branch = branch,
56+
homepage = homepage,
57+
version = version,
58+
tag = version,
1359
}
1460

1561
description = {
16-
summary = "Extensibility of org, comfort of markdown, for everyone",
17-
package = "word.lua",
18-
issues_url = "https://github.com/clpi/word.lua/issues",
19-
version = "0.1.0-alpha",
20-
detailed = [[
21-
Extensibility of org, comfort of markdown, for everyone
22-
]],
23-
description = [[
24-
Extensibility of org, comfort of markdown, for everyone
25-
]],
26-
homepage = "https://github.com/clpi/word.lua",
27-
maintainer = "https://github.com/clpi",
28-
labels = {
29-
"wiki",
30-
"neovim",
31-
"note",
32-
"org",
33-
"markdown",
34-
"nvim",
35-
"telekasten",
36-
"plugin",
37-
"org-mode",
38-
},
39-
license = "MIT",
62+
homepage = homepage,
63+
package = package_name,
64+
issues_url = github_issues_url,
65+
version = version,
66+
detailed = detailed,
67+
description = description,
68+
summary = summary,
69+
url = github_url,
70+
labels = labels,
71+
maintainer = maintainer_url,
4072
}
4173

4274
if MODREV == "scm" then
4375
source = {
44-
url = "git://github.com/clpi/word.lua",
76+
url = github_git_url,
77+
branch = branch,
78+
homepage = homepage,
79+
version = version,
4580
tag = nil,
46-
branch = "master",
4781
}
4882
end
4983

0 commit comments

Comments
 (0)