This removes paths which are duplicate and with double slashes.
Also the module search path is now same as in Linux environment.
The paths can be retrieved using these two lua code
print("package.path: "..package.path)
print("package.cpath: "..package.cpath)
The removed paths as like this
* package path:
C:\msys64\ucrt64\bin\..\share\lua\5.3\\?.lua;
C:\msys64\ucrt64\bin\..\share\lua\5.3\\?\init.lua;
* package cpath:
C:\msys64\ucrt64\bin\..\lib\lua\5.3\..\lib\lua\5.3\\?.dll
And while at it also add explicit mingw_arch to all PKGBUILD
files that don't have it already.
So that we get clang32 by default if mingw_arch is missed.
Not clangarm64 because we can't test in the PR CI, but maybe
we should add it anyway, not sure.