From b65c5f84dfe6be7a69aee455d1259b0fa64299a6 Mon Sep 17 00:00:00 2001 From: RVG|lory <87276663+LoryPelli@users.noreply.github.com> Date: Sat, 8 Apr 2023 11:58:48 +0200 Subject: [PATCH] Updated to `Lua 5.4.4` --- packages/lua/5.4.4/build.sh | 14 ++++++++++++++ packages/lua/5.4.4/environment | 4 ++++ packages/lua/5.4.4/metadata.json | 5 +++++ packages/lua/5.4.4/run | 4 ++++ packages/lua/5.4.4/test.lua | 1 + 5 files changed, 28 insertions(+) create mode 100644 packages/lua/5.4.4/build.sh create mode 100644 packages/lua/5.4.4/environment create mode 100644 packages/lua/5.4.4/metadata.json create mode 100644 packages/lua/5.4.4/run create mode 100644 packages/lua/5.4.4/test.lua diff --git a/packages/lua/5.4.4/build.sh b/packages/lua/5.4.4/build.sh new file mode 100644 index 0000000..979fefe --- /dev/null +++ b/packages/lua/5.4.4/build.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# Put instructions to build your package in here +curl -R -O -L http://www.lua.org/ftp/lua-5.4.4.tar.gz +tar zxf lua-5.4.4.tar.gz +rm lua-5.4.4.tar.gz + +cd lua-5.4.4 +# Building Lua +make linux +# To check that Lua has been built correctly +make test +# Installing Lua +make linux install \ No newline at end of file diff --git a/packages/lua/5.4.4/environment b/packages/lua/5.4.4/environment new file mode 100644 index 0000000..db702d4 --- /dev/null +++ b/packages/lua/5.4.4/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH="$PWD/lua-5.4.4/src:$PATH" \ No newline at end of file diff --git a/packages/lua/5.4.4/metadata.json b/packages/lua/5.4.4/metadata.json new file mode 100644 index 0000000..a2a51b7 --- /dev/null +++ b/packages/lua/5.4.4/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "lua", + "version": "5.4.4", + "aliases": [] +} \ No newline at end of file diff --git a/packages/lua/5.4.4/run b/packages/lua/5.4.4/run new file mode 100644 index 0000000..d826943 --- /dev/null +++ b/packages/lua/5.4.4/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +lua "$@" \ No newline at end of file diff --git a/packages/lua/5.4.4/test.lua b/packages/lua/5.4.4/test.lua new file mode 100644 index 0000000..3f2688f --- /dev/null +++ b/packages/lua/5.4.4/test.lua @@ -0,0 +1 @@ +print("OK") \ No newline at end of file