lua5.4-libs: provide `liblua5.4.so` and other changes
Package Information
- Package name: lua5.4-libs
- Package version: lua5.4-libs-5.4.6-r1
- Alpine version: 3.20.0_alpha20240329
- Alpine architecture: riscv64
Summary
Currently the lua5.4-libs
doesn't provide /usr/lib/liblua-5.4.so
so I can link with just -llua-5.4
(without needing pkg-config).
Also I see some other issues, the versioned .so
has 0.0.0
version in it, not the actual Lua version.
Also while the executable of lua is named lua5.4
the library is liblua-5.4
, notice the -
difference, on many distributions (such ArchLinux), the name on the both match to be lua5.4
and liblua5.4
, no surprise of -
in the middle.
So I suggest the following changes in this package:
- Add proper versions on
liblua-5.4.so.0.0.0
, so it becomesliblua-5.4.so.5.4.6
. - Provide
/usr/lib/liblua5.4.so
, noticed we dropped the-
- Provide
/usr/lib/lua5.4.a
- Keep
/usr/lib/lua5.4/liblua.a
and/usr/lib/lua5.4/liblua.so
to not break compatibility with other packages