diff --git a/README.md b/README.md index 01727ff..1b2c9bf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The Abstract ToolKit is a widget toolkit for GUI and text-mode applications. It The easiest way to install AbsTK is through [LuaRocks](https://github.com/luarocks/luarocks): ``` -$ luarocks install --server=http://luarocks.org/dev abstk +$ luarocks install abstk ``` ### Concepts diff --git a/rockspecs/abstk-release-1.rockspec b/rockspecs/abstk-release-1.rockspec new file mode 100644 index 0000000..43da71d --- /dev/null +++ b/rockspecs/abstk-release-1.rockspec @@ -0,0 +1,24 @@ +package = "AbsTK" +version = "release-1" +source = { + url = "git+https://github.com/PedroAlvesV/AbsTK.git" +} +description = { + summary = "The Abstract Toolkit – a widget toolkit for GUI and text-mode applications.", + detailed = [[ + The Abstract Toolkit – a widget toolkit for GUI and text-mode applications. + It allows you to write an UI and, depending on the OS having or not a desktop environment, it runs on GUI (GTK) or text-mode (Curses). + ]], + homepage = "https://github.com/PedroAlvesV/AbsTK", + license = "MIT" +} +dependencies = { "lgi >= 0.9.1", "lcurses >= 9.0" } +build = { + type = "builtin", + modules = { + abstk = "src/abstk.lua", + ["abstk.AbsCurses"] = "src/abstk/AbsCurses.lua", + ["abstk.AbsGtk"] = "src/abstk/AbsGtk.lua", + ["abstk.util"] = "src/abstk/util.lua", + } +} diff --git a/rockspecs/abstk-release-1.src.rock b/rockspecs/abstk-release-1.src.rock new file mode 100644 index 0000000..fc2caaa Binary files /dev/null and b/rockspecs/abstk-release-1.src.rock differ