|
1 | 1 | 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" |
4 | 25 | rockspec_format = "3.0" |
5 | | -package = "word.lua" |
6 | 26 | 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" |
7 | 52 |
|
8 | 53 | 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, |
13 | 59 | } |
14 | 60 |
|
15 | 61 | 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, |
40 | 72 | } |
41 | 73 |
|
42 | 74 | if MODREV == "scm" then |
43 | 75 | source = { |
44 | | - url = "git://github.com/clpi/word.lua", |
| 76 | + url = github_git_url, |
| 77 | + branch = branch, |
| 78 | + homepage = homepage, |
| 79 | + version = version, |
45 | 80 | tag = nil, |
46 | | - branch = "master", |
47 | 81 | } |
48 | 82 | end |
49 | 83 |
|
|
0 commit comments