lina/lain-scm-1.rockspec
Joe Fiorini 958ab5ba81
Fix rockspec (#524)
I could not install lain via luarocks using the existing rockspec file. There were a few issues:

1. There is no `scm-1` tag in the repo,
2. The glib, curl & awesome dependencies do not exist as rocks in the luarocks repo, therefore they should not be dependencies here
3. The format of the repo URL is incorrect, it should be using the `git+https` protocol

Once I fixed those issues I was able to install using a local copy of the rockspec. I'm sure I'm not the first person to install lain via luarocks, how have others have managed to get it to work?
2022-03-16 19:46:25 +00:00

25 lines
666 B
Lua

package = "lain"
version = "scm-1"
source = {
url = "git+https://github.com/lcpz/lain.git",
tag = "master"
}
description = {
summary = "Layout, widgets and utilities for Awesome WM",
detailed = [[
Successor of awesome-vain, this module provides alternative layouts, asynchronous widgets and utility functions for Awesome WM.
Dependencies: curl (for IMAP, MPD and weather widgets); Glib >= 2.54 (for filesystems widget).
]],
homepage = "https://github.com/lcpz/lain",
license = "GPL-2.0"
}
dependencies = {
"lua >= 5.1"
}
supported_platforms = { "linux" }
build = {
type = "builtin",
modules = { lain = "init.lua" }
}