convert the package from update-alternatives to libalternatives

And overall improve the packaging.
This commit is contained in:
2025-07-15 14:17:20 +02:00
parent 817bcac62a
commit 411bb03abb
2 changed files with 27 additions and 62 deletions

View File

@@ -10,8 +10,8 @@ Subject: build system
Index: lua-5.5.0-beta/Makefile
===================================================================
--- lua-5.5.0-beta.orig/Makefile 2025-07-11 12:05:58.289205384 +0200
+++ lua-5.5.0-beta/Makefile 2025-07-11 12:06:00.906212327 +0200
--- lua-5.5.0-beta.orig/Makefile 2025-06-26 15:04:37.000000000 +0200
+++ lua-5.5.0-beta/Makefile 2025-07-16 11:43:49.998066837 +0200
@@ -10,18 +10,18 @@
# so take care if INSTALL_TOP is not an absolute path. See the local target.
# You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with
@@ -69,8 +69,8 @@ Index: lua-5.5.0-beta/Makefile
uninstall:
Index: lua-5.5.0-beta/src/Makefile
===================================================================
--- lua-5.5.0-beta.orig/src/Makefile 2025-07-11 12:05:58.289205384 +0200
+++ lua-5.5.0-beta/src/Makefile 2025-07-11 12:13:07.455546422 +0200
--- lua-5.5.0-beta.orig/src/Makefile 2025-06-26 14:57:29.000000000 +0200
+++ lua-5.5.0-beta/src/Makefile 2025-07-16 11:43:49.998317291 +0200
@@ -7,7 +7,7 @@
PLAT= guess
@@ -177,8 +177,8 @@ Index: lua-5.5.0-beta/src/Makefile
Index: lua-5.5.0-beta/src/luaconf.h
===================================================================
--- lua-5.5.0-beta.orig/src/luaconf.h 2025-07-11 12:05:58.289205384 +0200
+++ lua-5.5.0-beta/src/luaconf.h 2025-07-11 12:06:00.906620685 +0200
--- lua-5.5.0-beta.orig/src/luaconf.h 2025-06-28 12:06:32.000000000 +0200
+++ lua-5.5.0-beta/src/luaconf.h 2025-07-16 11:43:49.998518156 +0200
@@ -239,7 +239,7 @@
#else /* }{ */