Compare commits

...

5 Commits

Author SHA1 Message Date
Thomas adf97a7df0
Merge pull request #156 from Shivansh-007/package/lua-5.4.2
pkg(lua-5.4.2): Add lua 5.4.2
2021-03-18 18:26:08 +13:00
Shivansh-007 3c60ae7503
pkg(lua-5.4.2): Add PWD before specifying the path 2021-03-18 09:56:40 +05:30
Shivansh-007 7f07024129
pkg(lua-5.4.2): Add PATH to indicate we are chaining them.
PATH is a list of paths the shell should look for the binary.
2021-03-18 09:07:59 +05:30
Shivansh-007 6b64c4bb5f
pkg(lua-5.4.2): Fix path in environment 2021-03-17 15:46:35 +05:30
Shivansh-007 8f71c8f4a7 pkg(lua-5.4.2): Add lua 5.4.2 2021-03-17 15:12:32 +05:30
5 changed files with 29 additions and 0 deletions

14
packages/lua/5.4.2/build.sh vendored Executable file
View File

@ -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.2.tar.gz
tar zxf lua-5.4.2.tar.gz
rm lua-5.4.2.tar.gz
cd lua-5.4.2
# Building Lua
make linux
# To check that Lua has been built correctly
make test
# Installing Lua
make linux install

4
packages/lua/5.4.2/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH="$PWD/lua-5.4.2/src:$PATH"

6
packages/lua/5.4.2/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "lua",
"version": "5.4.2",
"author": "Shivansh-007 <Shivansh-007@users.noreply.github.com>",
"aliases": ["lua"]
}

4
packages/lua/5.4.2/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
lua "$@"

1
packages/lua/5.4.2/test.lua vendored Normal file
View File

@ -0,0 +1 @@
print("OK")