From fa9fb11a7c3eeb186a17c6d93c5da37eb6929d58 Mon Sep 17 00:00:00 2001 From: aajjbb Date: Sat, 22 Oct 2016 14:52:56 -0200 Subject: [PATCH 1/5] adding .rockspec file to generate a luarocks rock --- lain.rockspec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lain.rockspec diff --git a/lain.rockspec b/lain.rockspec new file mode 100644 index 0000000..9d5d5e2 --- /dev/null +++ b/lain.rockspec @@ -0,0 +1,22 @@ +package = "lain" +version = "1.0.0" +source = { + url = "https://github.com/copycat-killer/lain", + tag = "v.1.0.0" +} +description = { + summary = "A layoutm widget and utilities library for the Awesome Window Manager", + detailed = [[ + Successor of awesome-vain, this module provides new layouts, a set of widgets and utility functions, in order to improve Awesome usability and configurability. + ]], + homepage = "https://github.com/copycat-killer/lain", + license = "GPL v2" +} +dependencies = { + "lua >= 5.1" +} +supported_platforms = { "linux" } +build = { + type = "builtin", + modules = { lain = "init.lua" }, +} From 37e0169933aae37d661add99e13752ee70448d35 Mon Sep 17 00:00:00 2001 From: aajjbb Date: Sat, 22 Oct 2016 16:36:37 -0200 Subject: [PATCH 2/5] added awesome as dependency and changed version to git --- lain.rockspec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lain.rockspec b/lain.rockspec index 9d5d5e2..97a2858 100644 --- a/lain.rockspec +++ b/lain.rockspec @@ -1,8 +1,8 @@ package = "lain" -version = "1.0.0" +version = "git" source = { url = "https://github.com/copycat-killer/lain", - tag = "v.1.0.0" + tag = "git" } description = { summary = "A layoutm widget and utilities library for the Awesome Window Manager", @@ -13,7 +13,8 @@ description = { license = "GPL v2" } dependencies = { - "lua >= 5.1" + "lua >= 5.1", + "awesome >= 3.5" } supported_platforms = { "linux" } build = { From c62c4d7816ebf0d99b2edda9e0df252699549f8f Mon Sep 17 00:00:00 2001 From: aajjbb Date: Sat, 22 Oct 2016 16:37:50 -0200 Subject: [PATCH 3/5] added optional optional dependencies in the detailed description --- lain.rockspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lain.rockspec b/lain.rockspec index 97a2858..8c31764 100644 --- a/lain.rockspec +++ b/lain.rockspec @@ -8,6 +8,8 @@ description = { summary = "A layoutm widget and utilities library for the Awesome Window Manager", detailed = [[ Successor of awesome-vain, this module provides new layouts, a set of widgets and utility functions, in order to improve Awesome usability and configurability. + + Optional dependencies: alsa-utils, curl, imagemagick ]], homepage = "https://github.com/copycat-killer/lain", license = "GPL v2" From 1793f94b00c04639e97bad43b50bbc111a8f393d Mon Sep 17 00:00:00 2001 From: aajjbb Date: Sat, 22 Oct 2016 19:08:48 -0200 Subject: [PATCH 4/5] renaming rockspec file and adding optional dependencies as regular dependencies --- lain.rockspec => lain-git.rockspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename lain.rockspec => lain-git.rockspec (91%) diff --git a/lain.rockspec b/lain-git.rockspec similarity index 91% rename from lain.rockspec rename to lain-git.rockspec index 8c31764..90c16d5 100644 --- a/lain.rockspec +++ b/lain-git.rockspec @@ -16,7 +16,10 @@ description = { } dependencies = { "lua >= 5.1", - "awesome >= 3.5" + "awesome >= 3.5", + "alsa-utils", + "curl", + "imagemagick" } supported_platforms = { "linux" } build = { From ebefc1e21d71c4b53e27e142cd199f3ec600da9c Mon Sep 17 00:00:00 2001 From: aajjbb Date: Sat, 22 Oct 2016 20:13:10 -0200 Subject: [PATCH 5/5] fixing typos --- lain-git.rockspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lain-git.rockspec b/lain-git.rockspec index 90c16d5..51f399e 100644 --- a/lain-git.rockspec +++ b/lain-git.rockspec @@ -5,7 +5,7 @@ source = { tag = "git" } description = { - summary = "A layoutm widget and utilities library for the Awesome Window Manager", + summary = "Layout, Widget and Utilities library for the Awesome Window Manager", detailed = [[ Successor of awesome-vain, this module provides new layouts, a set of widgets and utility functions, in order to improve Awesome usability and configurability.