diff --git a/rockspecs/say-1.4.0-1.rockspec b/rockspecs/say-1.4.0-1.rockspec new file mode 100644 index 0000000..062b329 --- /dev/null +++ b/rockspecs/say-1.4.0-1.rockspec @@ -0,0 +1,33 @@ +local package_name = "say" +local package_version = "1.4.0" +local rockspec_revision = "1" +local github_account_name = "lunarmodules" +local github_repo_name = package_name + +package = package_name +version = package_version .. "-" .. rockspec_revision + +source = { + url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git" +} + +if package_version == "scm" then source.branch = "master" else source.tag = "v" .. package_version end + +description = { + summary = "Lua string hashing/indexing library", + detailed = [[ + Useful for internationalization. + ]], + homepage = "https://lunarmodules.github.io/busted/", + license = "MIT " +} + +dependencies = { + "lua >= 5.1" +} +build = { + type = "builtin", + modules = { + ["say.init"] = "src/say/init.lua" + } +}