diff --git a/README.md b/README.md index a631944..8dbc2d6 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,13 @@ These packages require 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 ptable.sile +luarocks install ptable.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/ptable.sile-2.0.0-1.rockspec b/ptable.sile-2.0.0-1.rockspec new file mode 100644 index 0000000..43c450b --- /dev/null +++ b/ptable.sile-2.0.0-1.rockspec @@ -0,0 +1,33 @@ +rockspec_format = "3.0" +package = "ptable.sile" +version = "2.0.0-1" +source = { + url = "git+https://github.com/Omikhleia/ptable.sile.git", + tag = "v2.0.0", +} +description = { + summary = "Paragraph boxes, framed boxes and table packages for the SILE typesetting system.", + detailed = [[ + This package for the SILE typesetter provides struts, paragraph boxes + (parbox), framed boxes (framebox) and tables (ptable). + ]], + homepage = "https://github.com/Omikhleia/ptable.sile", + license = "MIT", +} +dependencies = { + "lua >= 5.1", + "silex.sile >= 0.1.0", +} +build = { + type = "builtin", + modules = { + ["sile.packages.struts"] = "packages/struts/init.lua", + ["sile.packages.parbox"] = "packages/parbox/init.lua", + ["sile.packages.ptable"] = "packages/ptable/init.lua", + ["sile.packages.framebox"] = "packages/framebox/init.lua", + ["sile.packages.framebox.graphics.prng"] = "packages/framebox/graphics/prng.lua", + ["sile.packages.framebox.graphics.renderer"] = "packages/framebox/graphics/renderer.lua", + ["sile.packages.framebox.graphics.rough"] = "packages/framebox/graphics/rough.lua", + ["sile.resilient-compat.hboxing"] = "resilient-compat/hboxing.lua", + } +}