summaryrefslogtreecommitdiff
path: root/luasystem-scm-0.rockspec
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2023-11-09 19:56:49 +0100
committerThijs Schreijer <thijs@thijsschreijer.nl>2023-11-09 22:59:06 +0100
commit6f8f8fda06c6fa499484feeb6068b560b13d7859 (patch)
tree0a4a6144982ae147cb98df43890550def54bbec6 /luasystem-scm-0.rockspec
parent0c8efdd97c08c06aeb5e5e419d933a6a28bdfe26 (diff)
downloadluasystem-6f8f8fda06c6fa499484feeb6068b560b13d7859.zip
chore(rockspecs): update new location
Diffstat (limited to 'luasystem-scm-0.rockspec')
-rw-r--r--luasystem-scm-0.rockspec23
1 files changed, 17 insertions, 6 deletions
diff --git a/luasystem-scm-0.rockspec b/luasystem-scm-0.rockspec
index 1093ac4..74e301d 100644
--- a/luasystem-scm-0.rockspec
+++ b/luasystem-scm-0.rockspec
@@ -1,17 +1,28 @@
-package = 'luasystem'
-version = 'scm-0'
+local package_name = "luasystem"
+local package_version = "scm"
+local rockspec_revision = "0"
+local github_account_name = "lunarmodules"
+local github_repo_name = "luasystem"
+
+
+package = package_name
+version = package_version.."-"..rockspec_revision
+
source = {
- url = "git://github.com/o-lim/luasystem",
- branch = "master"
+ url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
+ branch = (package_version == "scm") and "master" or nil,
+ tag = (package_version ~= "scm") and package_version or nil,
}
+
description = {
summary = 'Platform independent system calls for Lua.',
detailed = [[
Adds a Lua API for making platform independent system calls.
]],
- homepage = 'http://olivinelabs.com/luasystem/',
- license = 'MIT <http://opensource.org/licenses/MIT>'
+ license = 'MIT <http://opensource.org/licenses/MIT>',
+ homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
}
+
dependencies = {
'lua >= 5.1',
}