Merge pull request #156 from Shivansh-007/package/lua-5.4.2
pkg(lua-5.4.2): Add lua 5.4.2
This commit is contained in:
commit
adf97a7df0
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH="$PWD/lua-5.4.2/src:$PATH"
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "lua",
|
||||
"version": "5.4.2",
|
||||
"author": "Shivansh-007 <Shivansh-007@users.noreply.github.com>",
|
||||
"aliases": ["lua"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
lua "$@"
|
|
@ -0,0 +1 @@
|
|||
print("OK")
|
Loading…
Reference in New Issue