Skip to content

Commit

Permalink
rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
clpi committed Dec 3, 2024
1 parent 91c310a commit 70a8819
Showing 1 changed file with 67 additions and 33 deletions.
100 changes: 67 additions & 33 deletions word-scm-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,49 +1,83 @@
local MODREV, SPECREV = "scm", "-1"
local account = "clpi"
local repo = "word.lua"
maintainer = "clpi"
license = "MIT"
detailed = [[
Extensibility of org, comfort of markdown, for everyone
]]
description = [[
Extensibility of org, comfort of markdown, for everyone
]]
labels = {
"wiki",
"neovim",
"note",
"capture",
"obsidian",
"org",
"markdown",
"vim",
"nvim",
"telekasten",
"plugin",
"org-mode",
}
summary = "Extensibility of org, comfort of markdown, for everyone"
rockspec_format = "3.0"
package = "word.lua"
version = MODREV .. SPECREV
branch = "master"
tag = "v0.1.1-alpha"
local package_name = "word.lua"
local github_url = "https://github.com/"
.. maintainer
.. "/"
.. package_name
.. ".git"
local github_wiki_url = "https://github.com/"
.. maintainer
.. "/"
.. package_name
.. "/wiki"
local github_issues_url = "https://github.com/"
.. maintainer
.. "/"
.. package_name
.. "/issues"
local github_git_url = "git://github.com/"
.. maintainer
.. "/"
.. package_name
.. ".git"
local maintainer_url = "https://github.com/" .. maintainer
homepage = "https://word.cli.st"

source = {
url = "git://github.com/" .. account .. "/" .. repo .. ".git",
branch = "master",
version = "0.1.0-alpha",
tag = "0.1.0-alpha",
url = github_url,
branch = branch,
homepage = homepage,
version = version,
tag = version,
}

description = {
summary = "Extensibility of org, comfort of markdown, for everyone",
package = "word.lua",
issues_url = "https://github.com/clpi/word.lua/issues",
version = "0.1.0-alpha",
detailed = [[
Extensibility of org, comfort of markdown, for everyone
]],
description = [[
Extensibility of org, comfort of markdown, for everyone
]],
homepage = "https://github.com/clpi/word.lua",
maintainer = "https://github.com/clpi",
labels = {
"wiki",
"neovim",
"note",
"org",
"markdown",
"nvim",
"telekasten",
"plugin",
"org-mode",
},
license = "MIT",
homepage = homepage,
package = package_name,
issues_url = github_issues_url,
version = version,
detailed = detailed,
description = description,
summary = summary,
url = github_url,
labels = labels,
maintainer = maintainer_url,
}

if MODREV == "scm" then
source = {
url = "git://github.com/clpi/word.lua",
url = github_git_url,
branch = branch,
homepage = homepage,
version = version,
tag = nil,
branch = "master",
}
end

Expand Down

0 comments on commit 70a8819

Please sign in to comment.