-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <http://opensource.org/licenses/MIT>" | ||
} | ||
|
||
dependencies = { | ||
"lua >= 5.1" | ||
} | ||
build = { | ||
type = "builtin", | ||
modules = { | ||
["say.init"] = "src/say/init.lua" | ||
} | ||
} |