diff --git a/rockspecs/say-1.4.1-3.rockspec b/rockspecs/say-1.4.1-3.rockspec new file mode 100644 index 0000000..e5907c1 --- /dev/null +++ b/rockspecs/say-1.4.1-3.rockspec @@ -0,0 +1,33 @@ +package = "say" +local rock_version = "1.4.1" +local rock_release = "3" +local namespace = "lunarmodules" +local repository = package + +version = ("%s-%s"):format(rock_version, rock_release) + +source = { + url = ("git+https://github.com/%s/%s.git"):format(namespace, repository), + branch = rock_version == "scm" and "master" or nil, + tag = rock_version ~= "scm" and "v"..rock_version or nil, +} + +description = { + summary = "Lua string hashing/indexing library", + detailed = [[ + Useful for internationalization. + ]], + license = "MIT", + homepage = ("https://%s.github.io/%s"):format(namespace, repository), + maintainer = "Caleb Maclennan ", +} + +dependencies = { + "lua >= 5.1", +} +build = { + type = "builtin", + modules = { + say = "src/say/init.lua" + } +} diff --git a/say-scm-1.rockspec b/say-scm-1.rockspec index 980ef8f..9cba63e 100644 --- a/say-scm-1.rockspec +++ b/say-scm-1.rockspec @@ -10,7 +10,7 @@ version = ("%s-%s"):format(rock_version, rock_release) source = { url = ("git+https://github.com/%s/%s.git"):format(namespace, repository), branch = rock_version == "scm" and "master" or nil, - tag = rock_version ~= "scm" and rock_version or nil, + tag = rock_version ~= "scm" and "v"..rock_version or nil, } description = {