* libluajit: fix unmatched header path and package version
Currently, luajit header files are placed improperly.
As stated at luajit.pc file, package version is 2.1 and pkg-config
guides the header location to $TERMUX_PREFIX/include/luajit-2.1/.
This commit fixes the build script of wrong header path.
* libluajit: bump revision and use $TERMUX_PKG_VERSION for foldername
Co-authored-by: Henrik Grimler <henrik@grimler.se>
- Put everything into shell functions.
- Start fixing shellcheck warnings.
- Run a hostbuild before setting up an android toolchain (fixes#657).
It was quite a hasty rewrite, so things could be broken. Let me know!