diff --git a/README.md b/README.md index fa66b94..bb87c95 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,13 @@ This package requires SILE v0.14 or upper. Installation relies on the **luarocks** package manager. -To install the latest development version, you may use the provided “rockspec”: +To install the latest version, you may use the provided “rockspec”: ``` -luarocks --lua-version 5.4 install --server=https://luarocks.org/dev fancytoc.sile +luarocks install fancytoc.sile ``` -(Adapt to your version of Lua, if need be, and refer to the SILE manual for more -detailed 3rd-party package installation information.) +(Refer to the SILE manual for more detailed 3rd-party package installation information.) ## Usage diff --git a/fancytoc.sile-1.0.0-1.rockspec b/fancytoc.sile-1.0.0-1.rockspec new file mode 100644 index 0000000..c62064f --- /dev/null +++ b/fancytoc.sile-1.0.0-1.rockspec @@ -0,0 +1,26 @@ +rockspec_format = "3.0" +package = "fancytoc.sile" +version = "1.0.0-1" +source = { + url = "git+https://github.com/Omikhleia/fancytoc.sile.git", + tag = "v1.0.0", +} +description = { + summary = "Some fancy table of contents for the SILE typesetting system.", + detailed = [[ + This package for the SILE typesetter provides an altenative and fancy two-level presentation + with curly braces for a table of contents. + ]], + homepage = "https://github.com/Omikhleia/fancytoc.sile", + license = "MIT", +} +dependencies = { + "lua >= 5.1", + "ptable.sile >= 2.0.0", +} +build = { + type = "builtin", + modules = { + ["sile.packages.fancytoc"] = "packages/fancytoc/init.lua", + } +}