From: Luciogi <Luciogi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Sile update to 0.15.4
Date: Fri, 12 Jul 2024 17:40:36 +0200 [thread overview]
Message-ID: <20240712154036.7ABB728CD1@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-51222@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages sile
https://github.com/void-linux/void-packages/pull/51222
Sile update to 0.15.4
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86-GLIBC)
A patch file from https://github.com/void-linux/void-packages/pull/51222.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sile-51222.patch --]
[-- Type: text/x-diff, Size: 37052 bytes --]
From f3b1f8934edf80909cab0d65c11933d04d699091 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 17:57:43 +0500
Subject: [PATCH 01/14] New package: lua54-vstruct-2.2.0
---
srcpkgs/lua51-vstruct | 1 +
srcpkgs/lua52-vstruct | 1 +
srcpkgs/lua53-vstruct | 1 +
srcpkgs/lua54-vstruct/template | 51 ++++++++++++++++++++++++++++++++++
4 files changed, 54 insertions(+)
create mode 120000 srcpkgs/lua51-vstruct
create mode 120000 srcpkgs/lua52-vstruct
create mode 120000 srcpkgs/lua53-vstruct
create mode 100644 srcpkgs/lua54-vstruct/template
diff --git a/srcpkgs/lua51-vstruct b/srcpkgs/lua51-vstruct
new file mode 120000
index 00000000000000..f8ca1222a0040e
--- /dev/null
+++ b/srcpkgs/lua51-vstruct
@@ -0,0 +1 @@
+lua54-vstruct
\ No newline at end of file
diff --git a/srcpkgs/lua52-vstruct b/srcpkgs/lua52-vstruct
new file mode 120000
index 00000000000000..f8ca1222a0040e
--- /dev/null
+++ b/srcpkgs/lua52-vstruct
@@ -0,0 +1 @@
+lua54-vstruct
\ No newline at end of file
diff --git a/srcpkgs/lua53-vstruct b/srcpkgs/lua53-vstruct
new file mode 120000
index 00000000000000..f8ca1222a0040e
--- /dev/null
+++ b/srcpkgs/lua53-vstruct
@@ -0,0 +1 @@
+lua54-vstruct
\ No newline at end of file
diff --git a/srcpkgs/lua54-vstruct/template b/srcpkgs/lua54-vstruct/template
new file mode 100644
index 00000000000000..6029d9b63117d9
--- /dev/null
+++ b/srcpkgs/lua54-vstruct/template
@@ -0,0 +1,51 @@
+# Template file for 'lua54-vstruct'
+pkgname=lua54-vstruct
+version=2.2.0
+revision=1
+build_style=meta
+hostmakedepends="luarocks-lua54"
+depends="lua54"
+short_desc="Lua library to manipulate binary data"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/ToxicFrog/vstruct"
+distfiles="https://github.com/ToxicFrog/vstruct/archive/refs/tags/v${version}.tar.gz"
+checksum=54ade004665b62b2253d403f3e468631caa486a45a2b873818e55097e7b679bf
+
+_lua_versions="lua5.1 lua5.2 lua5.3 lua5.4"
+for _lua_version in $_lua_versions; do
+ hostmakedepends+=" ${_lua_version/./}"
+ makedepends+=" ${_lua_version/./}-devel"
+done
+
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+}
+
+lua53-vstruct_package() {
+ depends="lua53"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-vstruct_package() {
+ depends="lua52"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-vstruct_package() {
+ depends="lua51"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 1bcb5699f476c7c9b62374bea9d81116f5e261a9 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 17:58:30 +0500
Subject: [PATCH 02/14] New package: lua54-penlight-1.14.0
---
srcpkgs/lua51-penlight | 1 +
srcpkgs/lua52-penlight | 1 +
srcpkgs/lua53-penlight | 1 +
srcpkgs/lua54-penlight/template | 49 +++++++++++++++++++++++++++++++++
4 files changed, 52 insertions(+)
create mode 120000 srcpkgs/lua51-penlight
create mode 120000 srcpkgs/lua52-penlight
create mode 120000 srcpkgs/lua53-penlight
create mode 100644 srcpkgs/lua54-penlight/template
diff --git a/srcpkgs/lua51-penlight b/srcpkgs/lua51-penlight
new file mode 120000
index 00000000000000..982fe9ad102832
--- /dev/null
+++ b/srcpkgs/lua51-penlight
@@ -0,0 +1 @@
+lua54-penlight
\ No newline at end of file
diff --git a/srcpkgs/lua52-penlight b/srcpkgs/lua52-penlight
new file mode 120000
index 00000000000000..982fe9ad102832
--- /dev/null
+++ b/srcpkgs/lua52-penlight
@@ -0,0 +1 @@
+lua54-penlight
\ No newline at end of file
diff --git a/srcpkgs/lua53-penlight b/srcpkgs/lua53-penlight
new file mode 120000
index 00000000000000..982fe9ad102832
--- /dev/null
+++ b/srcpkgs/lua53-penlight
@@ -0,0 +1 @@
+lua54-penlight
\ No newline at end of file
diff --git a/srcpkgs/lua54-penlight/template b/srcpkgs/lua54-penlight/template
new file mode 100644
index 00000000000000..4c924b18a419bb
--- /dev/null
+++ b/srcpkgs/lua54-penlight/template
@@ -0,0 +1,49 @@
+# Template file for 'lua54-penlight'
+pkgname=lua54-penlight
+version=1.14.0
+revision=1
+hostmakedepends="lua54 lua53 lua52 lua51 zip luarocks-lua54"
+makedepends="lua54-devel lua53-devel lua52-devel lua51-devel lua54-luafilesystem"
+depends="lua54 lua54-luafilesystem"
+short_desc="Lua libraries focusing on input data handling"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/lunarmodules/Penlight"
+distfiles="https://github.com/lunarmodules/Penlight/archive/refs/tags/${version}.tar.gz"
+checksum=2387431c0e83c4189cccb35b989141a3280d735cb5d42bacf3451af9869bebf7
+
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+ vlicense LICENSE.md
+}
+
+lua51-penlight_package() {
+ build_style=meta
+ depends="lua51 lua51-luafilesystem"
+ pkg_install() {
+ _package 5.1
+ }
+}
+
+lua52-penlight_package() {
+ build_style=meta
+ depends="lua52 lua52-luafilesystem"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua53-penlight_package() {
+ build_style=meta
+ depends="lua53 lua53-luafilesystem"
+ pkg_install() {
+ _package 5.3
+ }
+}
From bb74d587b13417f5e5c1f588d194ba01dc8a2eea Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:01 +0500
Subject: [PATCH 03/14] New package: lua54-cldr-0.3.0
---
srcpkgs/lua51-cldr | 1 +
srcpkgs/lua52-cldr | 1 +
srcpkgs/lua53-cldr | 1 +
srcpkgs/lua54-cldr/template | 49 +++++++++++++++++++++++++++++++++++++
4 files changed, 52 insertions(+)
create mode 120000 srcpkgs/lua51-cldr
create mode 120000 srcpkgs/lua52-cldr
create mode 120000 srcpkgs/lua53-cldr
create mode 100644 srcpkgs/lua54-cldr/template
diff --git a/srcpkgs/lua51-cldr b/srcpkgs/lua51-cldr
new file mode 120000
index 00000000000000..fe359b22385124
--- /dev/null
+++ b/srcpkgs/lua51-cldr
@@ -0,0 +1 @@
+lua54-cldr
\ No newline at end of file
diff --git a/srcpkgs/lua52-cldr b/srcpkgs/lua52-cldr
new file mode 120000
index 00000000000000..fe359b22385124
--- /dev/null
+++ b/srcpkgs/lua52-cldr
@@ -0,0 +1 @@
+lua54-cldr
\ No newline at end of file
diff --git a/srcpkgs/lua53-cldr b/srcpkgs/lua53-cldr
new file mode 120000
index 00000000000000..fe359b22385124
--- /dev/null
+++ b/srcpkgs/lua53-cldr
@@ -0,0 +1 @@
+lua54-cldr
\ No newline at end of file
diff --git a/srcpkgs/lua54-cldr/template b/srcpkgs/lua54-cldr/template
new file mode 100644
index 00000000000000..a60b04d119eae7
--- /dev/null
+++ b/srcpkgs/lua54-cldr/template
@@ -0,0 +1,49 @@
+# Template file for 'lua54-cldr'
+pkgname=lua54-cldr
+version=0.3.0
+revision=1
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+depends="lua54-penlight"
+short_desc="Lua interface to Unicode CLDR data"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT AND custom"
+homepage="https://github.com/alerque/cldr-lua"
+distfiles="https://github.com/alerque/cldr-lua/archive/refs/tags/v${version}.tar.gz"
+checksum=bf38132c274a35b500787668fd561302374c6687333ff8be0c6751ad35151399
+
+_rockname=${pkgname#lua54-}
+_rocksrel=0
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+
+ vlicense LICENSE
+}
+
+lua53-cldr_package() {
+ build_style=meta
+ depends="lua53 lua53-penlight"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-cldr_package() {
+ build_style=meta
+ depends="lua52 lua52-penlight"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-cldr_package() {
+ build_style=meta
+ depends="lua51 lua51-penlight"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 1e32a20fbd407b9c2cfca9f1e92f534d3ee3a656 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:09 +0500
Subject: [PATCH 04/14] New package: lua54-cliargs-3.0.2
---
srcpkgs/lua51-cliargs | 1 +
srcpkgs/lua52-cliargs | 1 +
srcpkgs/lua53-cliargs | 1 +
srcpkgs/lua54-cliargs/template | 46 ++++++++++++++++++++++++++++++++++
4 files changed, 49 insertions(+)
create mode 120000 srcpkgs/lua51-cliargs
create mode 120000 srcpkgs/lua52-cliargs
create mode 120000 srcpkgs/lua53-cliargs
create mode 100644 srcpkgs/lua54-cliargs/template
diff --git a/srcpkgs/lua51-cliargs b/srcpkgs/lua51-cliargs
new file mode 120000
index 00000000000000..2f82d49db945ed
--- /dev/null
+++ b/srcpkgs/lua51-cliargs
@@ -0,0 +1 @@
+lua54-cliargs
\ No newline at end of file
diff --git a/srcpkgs/lua52-cliargs b/srcpkgs/lua52-cliargs
new file mode 120000
index 00000000000000..2f82d49db945ed
--- /dev/null
+++ b/srcpkgs/lua52-cliargs
@@ -0,0 +1 @@
+lua54-cliargs
\ No newline at end of file
diff --git a/srcpkgs/lua53-cliargs b/srcpkgs/lua53-cliargs
new file mode 120000
index 00000000000000..2f82d49db945ed
--- /dev/null
+++ b/srcpkgs/lua53-cliargs
@@ -0,0 +1 @@
+lua54-cliargs
\ No newline at end of file
diff --git a/srcpkgs/lua54-cliargs/template b/srcpkgs/lua54-cliargs/template
new file mode 100644
index 00000000000000..3a51b22a39baed
--- /dev/null
+++ b/srcpkgs/lua54-cliargs/template
@@ -0,0 +1,46 @@
+# Template file for 'lua54-cliargs'
+pkgname=lua54-cliargs
+version=3.0.2
+revision=1
+build_style=meta
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+makedepends=""
+depends="lua54"
+short_desc="Command-line argument parser for Lua"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/lunarmodules/lua_cliargs"
+distfiles="https://github.com/lunarmodules/lua_cliargs/archive/refs/tags/v${version}.tar.gz"
+checksum=a7a57ab9c73f6c44040a78305b6dc7780ca1565cc4c9057d74a6608cb0443af4
+
+_rockname=lua_cliargs
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+}
+
+lua53-cliargs_package() {
+ depends="lua53"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-cliargs_package() {
+ depends="lua52"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-cliargs_package() {
+ depends="lua51"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 385eebf51bb7db9445ce1f88936dc6cb74bd9317 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:16 +0500
Subject: [PATCH 05/14] New package: lua54-fluent-0.2.0
---
srcpkgs/lua51-fluent | 1 +
srcpkgs/lua52-fluent | 1 +
srcpkgs/lua53-fluent | 1 +
srcpkgs/lua54-fluent/template | 48 +++++++++++++++++++++++++++++++++++
4 files changed, 51 insertions(+)
create mode 120000 srcpkgs/lua51-fluent
create mode 120000 srcpkgs/lua52-fluent
create mode 120000 srcpkgs/lua53-fluent
create mode 100644 srcpkgs/lua54-fluent/template
diff --git a/srcpkgs/lua51-fluent b/srcpkgs/lua51-fluent
new file mode 120000
index 00000000000000..570da71eee83fc
--- /dev/null
+++ b/srcpkgs/lua51-fluent
@@ -0,0 +1 @@
+lua54-fluent
\ No newline at end of file
diff --git a/srcpkgs/lua52-fluent b/srcpkgs/lua52-fluent
new file mode 120000
index 00000000000000..570da71eee83fc
--- /dev/null
+++ b/srcpkgs/lua52-fluent
@@ -0,0 +1 @@
+lua54-fluent
\ No newline at end of file
diff --git a/srcpkgs/lua53-fluent b/srcpkgs/lua53-fluent
new file mode 120000
index 00000000000000..570da71eee83fc
--- /dev/null
+++ b/srcpkgs/lua53-fluent
@@ -0,0 +1 @@
+lua54-fluent
\ No newline at end of file
diff --git a/srcpkgs/lua54-fluent/template b/srcpkgs/lua54-fluent/template
new file mode 100644
index 00000000000000..60cd44881e8ade
--- /dev/null
+++ b/srcpkgs/lua54-fluent/template
@@ -0,0 +1,48 @@
+# Template file for 'lua54-fluent'
+pkgname=lua54-fluent
+version=0.2.0
+revision=1
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+depends="lua54 lua54-cldr lua54-luaepnf lua54-penlight"
+short_desc="Lua implementation of Project Fluent"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/alerque/fluent-lua"
+distfiles="https://github.com/alerque/fluent-lua/archive/refs/tags/v${version}.tar.gz"
+checksum=2458b80c8dad59c86de459bb7b4deef285d196b54ab449e73a8b8814f9822633
+
+_rockname=${pkgname#lua54-}
+_rocksrel=0
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+ vlicense LICENSE
+}
+
+lua53-fluent_package() {
+ build_style=meta
+ depends="lua53 lua53-cldr lua53-luaepnf lua53-penlight"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-fluent_package() {
+ build_style=meta
+ depends="lua52 lua52-cldr lua52-luaepnf lua52-penlight"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-fluent_package() {
+ build_style=meta
+ depends="lua51 lua51-cldr lua51-luaepnf lua51-penlight"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 56cbd078b5a2f49ed64362e870375f0684b591a6 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:22 +0500
Subject: [PATCH 06/14] New package: lua54-linenoise-0.9
---
srcpkgs/lua51-linenoise | 1 +
srcpkgs/lua52-linenoise | 1 +
srcpkgs/lua53-linenoise | 1 +
srcpkgs/lua54-linenoise/template | 45 ++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 120000 srcpkgs/lua51-linenoise
create mode 120000 srcpkgs/lua52-linenoise
create mode 120000 srcpkgs/lua53-linenoise
create mode 100644 srcpkgs/lua54-linenoise/template
diff --git a/srcpkgs/lua51-linenoise b/srcpkgs/lua51-linenoise
new file mode 120000
index 00000000000000..f544b8348c8f3c
--- /dev/null
+++ b/srcpkgs/lua51-linenoise
@@ -0,0 +1 @@
+lua54-linenoise
\ No newline at end of file
diff --git a/srcpkgs/lua52-linenoise b/srcpkgs/lua52-linenoise
new file mode 120000
index 00000000000000..f544b8348c8f3c
--- /dev/null
+++ b/srcpkgs/lua52-linenoise
@@ -0,0 +1 @@
+lua54-linenoise
\ No newline at end of file
diff --git a/srcpkgs/lua53-linenoise b/srcpkgs/lua53-linenoise
new file mode 120000
index 00000000000000..f544b8348c8f3c
--- /dev/null
+++ b/srcpkgs/lua53-linenoise
@@ -0,0 +1 @@
+lua54-linenoise
\ No newline at end of file
diff --git a/srcpkgs/lua54-linenoise/template b/srcpkgs/lua54-linenoise/template
new file mode 100644
index 00000000000000..b2c4f4cd9c141c
--- /dev/null
+++ b/srcpkgs/lua54-linenoise/template
@@ -0,0 +1,45 @@
+# Template file for 'lua54-linenoise'
+pkgname=lua54-linenoise
+version=0.9
+revision=1
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+makedepends="lua51-devel lua52-devel lua53-devel lua54-devel"
+depends="lua54"
+short_desc="A binding for the linenoise command line library"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/hoelzro/lua-linenoise"
+distfiles="https://github.com/hoelzro/lua-linenoise/archive/refs/tags/${version}.tar.gz"
+checksum=cc1cdb4047edd056a10dcdeec853dbaf5088e2202941d579e4592584d733f09c
+
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+}
+
+lua53-linenoise_package() {
+ depends="lua54"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-linenoise_package() {
+ depends="lua54"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-linenoise_package() {
+ depends="lua54"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 14040426cc2535d3b3dbd38197f28ac7c5c1f334 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:42 +0500
Subject: [PATCH 07/14] New package: lua54-luautf8-0.1.5
---
srcpkgs/lua51-luautf8 | 1 +
srcpkgs/lua52-luautf8 | 1 +
srcpkgs/lua53-luautf8 | 1 +
srcpkgs/lua54-luautf8/template | 52 ++++++++++++++++++++++++++++++++++
4 files changed, 55 insertions(+)
create mode 120000 srcpkgs/lua51-luautf8
create mode 120000 srcpkgs/lua52-luautf8
create mode 120000 srcpkgs/lua53-luautf8
create mode 100644 srcpkgs/lua54-luautf8/template
diff --git a/srcpkgs/lua51-luautf8 b/srcpkgs/lua51-luautf8
new file mode 120000
index 00000000000000..7a9bdbecf1c337
--- /dev/null
+++ b/srcpkgs/lua51-luautf8
@@ -0,0 +1 @@
+lua54-luautf8
\ No newline at end of file
diff --git a/srcpkgs/lua52-luautf8 b/srcpkgs/lua52-luautf8
new file mode 120000
index 00000000000000..7a9bdbecf1c337
--- /dev/null
+++ b/srcpkgs/lua52-luautf8
@@ -0,0 +1 @@
+lua54-luautf8
\ No newline at end of file
diff --git a/srcpkgs/lua53-luautf8 b/srcpkgs/lua53-luautf8
new file mode 120000
index 00000000000000..7a9bdbecf1c337
--- /dev/null
+++ b/srcpkgs/lua53-luautf8
@@ -0,0 +1 @@
+lua54-luautf8
\ No newline at end of file
diff --git a/srcpkgs/lua54-luautf8/template b/srcpkgs/lua54-luautf8/template
new file mode 100644
index 00000000000000..5fa09524d0c7e7
--- /dev/null
+++ b/srcpkgs/lua54-luautf8/template
@@ -0,0 +1,52 @@
+# Template file for 'lua54-luautf8'
+pkgname=lua54-luautf8
+version=0.1.5
+revision=1
+build_style=meta
+hostmakedepends="luarocks-lua54"
+depends="lua54"
+short_desc="UTF-8 support module for Lua and LuaJIT"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/starwing/luautf8"
+distfiles="https://github.com/starwing/luautf8/archive/refs/tags/${version}.tar.gz"
+checksum=f4bddecc87521c53d37c09b9e9edd70a4ab35b0074040f303cbe3a0e088af21c
+
+_lua_versions="lua5.1 lua5.2 lua5.3 lua5.4"
+for _lua_version in $_lua_versions; do
+ hostmakedepends+=" ${_lua_version/./}"
+ makedepends+=" ${_lua_version/./}-devel"
+done
+
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+ vlicense LICENSE
+}
+
+lua53-luautf8_package() {
+ depends="lua51"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-luautf8_package() {
+ depends="lua52"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-luautf8_package() {
+ depends="lua51"
+ pkg_install() {
+ _package 5.1
+ }
+}
From d1f1d7293ad07cf0d513481cbc1c95ed91142bdf Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:48 +0500
Subject: [PATCH 08/14] New package: lua54-luarepl-0.10
---
srcpkgs/lua51-luarepl | 1 +
srcpkgs/lua52-luarepl | 1 +
srcpkgs/lua53-luarepl | 1 +
srcpkgs/lua54-luarepl/template | 50 ++++++++++++++++++++++++++++++++++
4 files changed, 53 insertions(+)
create mode 120000 srcpkgs/lua51-luarepl
create mode 120000 srcpkgs/lua52-luarepl
create mode 120000 srcpkgs/lua53-luarepl
create mode 100644 srcpkgs/lua54-luarepl/template
diff --git a/srcpkgs/lua51-luarepl b/srcpkgs/lua51-luarepl
new file mode 120000
index 00000000000000..1cd861228a7386
--- /dev/null
+++ b/srcpkgs/lua51-luarepl
@@ -0,0 +1 @@
+lua54-luarepl
\ No newline at end of file
diff --git a/srcpkgs/lua52-luarepl b/srcpkgs/lua52-luarepl
new file mode 120000
index 00000000000000..1cd861228a7386
--- /dev/null
+++ b/srcpkgs/lua52-luarepl
@@ -0,0 +1 @@
+lua54-luarepl
\ No newline at end of file
diff --git a/srcpkgs/lua53-luarepl b/srcpkgs/lua53-luarepl
new file mode 120000
index 00000000000000..1cd861228a7386
--- /dev/null
+++ b/srcpkgs/lua53-luarepl
@@ -0,0 +1 @@
+lua54-luarepl
\ No newline at end of file
diff --git a/srcpkgs/lua54-luarepl/template b/srcpkgs/lua54-luarepl/template
new file mode 100644
index 00000000000000..a9472afe3c8503
--- /dev/null
+++ b/srcpkgs/lua54-luarepl/template
@@ -0,0 +1,50 @@
+# Template file for 'lua54-luarepl'
+pkgname=lua54-luarepl
+version=0.10
+revision=1
+build_style=meta
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+makedepends=""
+depends="lua54"
+short_desc="A reusable REPL component for Lua, written in Lua"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/hoelzro/lua-repl"
+distfiles="https://github.com/hoelzro/lua-repl/archive/refs/tags/${version}.tar.gz"
+checksum=55ba9f032bb4eb0e2e93dc66a368549bcf1a915bdd9f9a467eb778c3133c6373
+
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "${_rockname}-${version}-${_rocksrel}.rockspec"
+ echo /destdir/${pkgname}-${version}
+ sed -i -e "s|/destdir/${pkgname}-${version}||" "${PKGDESTDIR}/usr/bin/rep.lua"
+ mv "${PKGDESTDIR}/usr/bin/rep.lua" "${PKGDESTDIR}/usr/bin/rep.lua${1/./}"
+}
+
+do_install() {
+ _package 5.4
+ sed -i -e "s|lua5\.3|lua5\.4|" "${PKGDESTDIR}/usr/bin/rep.lua54"
+}
+
+lua53-luarepl_package() {
+ depends="lua53"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-luarepl_package() {
+ depends="lua52"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-luarepl_package() {
+ depends="lua51"
+ pkg_install() {
+ _package 5.1
+ }
+}
From a983d98e783498b3d07d918a4133497eaaac033e Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:01:59 +0500
Subject: [PATCH 09/14] New package: lua54-luaepnf-0.3
---
srcpkgs/lua51-luaepnf | 1 +
srcpkgs/lua52-luaepnf | 1 +
srcpkgs/lua53-luaepnf | 1 +
srcpkgs/lua54-luaepnf/template | 46 ++++++++++++++++++++++++++++++++++
4 files changed, 49 insertions(+)
create mode 120000 srcpkgs/lua51-luaepnf
create mode 120000 srcpkgs/lua52-luaepnf
create mode 120000 srcpkgs/lua53-luaepnf
create mode 100644 srcpkgs/lua54-luaepnf/template
diff --git a/srcpkgs/lua51-luaepnf b/srcpkgs/lua51-luaepnf
new file mode 120000
index 00000000000000..9d47c064ba08e3
--- /dev/null
+++ b/srcpkgs/lua51-luaepnf
@@ -0,0 +1 @@
+lua54-luaepnf
\ No newline at end of file
diff --git a/srcpkgs/lua52-luaepnf b/srcpkgs/lua52-luaepnf
new file mode 120000
index 00000000000000..9d47c064ba08e3
--- /dev/null
+++ b/srcpkgs/lua52-luaepnf
@@ -0,0 +1 @@
+lua54-luaepnf
\ No newline at end of file
diff --git a/srcpkgs/lua53-luaepnf b/srcpkgs/lua53-luaepnf
new file mode 120000
index 00000000000000..9d47c064ba08e3
--- /dev/null
+++ b/srcpkgs/lua53-luaepnf
@@ -0,0 +1 @@
+lua54-luaepnf
\ No newline at end of file
diff --git a/srcpkgs/lua54-luaepnf/template b/srcpkgs/lua54-luaepnf/template
new file mode 100644
index 00000000000000..af7f951d861764
--- /dev/null
+++ b/srcpkgs/lua54-luaepnf/template
@@ -0,0 +1,46 @@
+# Template file for 'lua54-luaepnf'
+pkgname=lua54-luaepnf
+version=0.3
+revision=1
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+depends="lua54 lua54-lpeg"
+short_desc="Extended PEG Notation Format (easy grammars for LPeg)"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/siffiejoe/lua-luaepnf"
+distfiles="https://github.com/siffiejoe/lua-luaepnf/archive/refs/tags/v${version}.tar.gz"
+checksum=57c0ad1917e45c5677bfed0f6122da2baff98117aba05a5e987a0238600f85f9
+
+_rockname=${pkgname#lua54-}
+_rocksrel=scm-0
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "${_rockname}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+}
+lua53-luaepnf_package() {
+ build_style=meta
+ depends="lua53 lua53-lpeg"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-luaepnf_package() {
+ build_style=meta
+ depends="lua52 lua52-lpeg"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-luaepnf_package() {
+ build_style=meta
+ depends="lua51 lua51-lpeg"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 929a245558a6d192b9c2eb067ffe0aa76266307d Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:02:05 +0500
Subject: [PATCH 10/14] New package: lua54-loadkit-1.1.0
---
srcpkgs/lua51-loadkit | 1 +
srcpkgs/lua52-loadkit | 1 +
srcpkgs/lua53-loadkit | 1 +
srcpkgs/lua54-loadkit/template | 57 ++++++++++++++++++++++++++++++++++
4 files changed, 60 insertions(+)
create mode 120000 srcpkgs/lua51-loadkit
create mode 120000 srcpkgs/lua52-loadkit
create mode 120000 srcpkgs/lua53-loadkit
create mode 100644 srcpkgs/lua54-loadkit/template
diff --git a/srcpkgs/lua51-loadkit b/srcpkgs/lua51-loadkit
new file mode 120000
index 00000000000000..ff455965f93f6c
--- /dev/null
+++ b/srcpkgs/lua51-loadkit
@@ -0,0 +1 @@
+lua54-loadkit
\ No newline at end of file
diff --git a/srcpkgs/lua52-loadkit b/srcpkgs/lua52-loadkit
new file mode 120000
index 00000000000000..ff455965f93f6c
--- /dev/null
+++ b/srcpkgs/lua52-loadkit
@@ -0,0 +1 @@
+lua54-loadkit
\ No newline at end of file
diff --git a/srcpkgs/lua53-loadkit b/srcpkgs/lua53-loadkit
new file mode 120000
index 00000000000000..ff455965f93f6c
--- /dev/null
+++ b/srcpkgs/lua53-loadkit
@@ -0,0 +1 @@
+lua54-loadkit
\ No newline at end of file
diff --git a/srcpkgs/lua54-loadkit/template b/srcpkgs/lua54-loadkit/template
new file mode 100644
index 00000000000000..23d30e66c0e755
--- /dev/null
+++ b/srcpkgs/lua54-loadkit/template
@@ -0,0 +1,57 @@
+# Template file for 'lua54-loadkit'
+pkgname=lua54-loadkit
+version=1.1.0
+revision=1
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
+makedepends=""
+depends="lua54"
+short_desc="allows you to load arbitrary files within the Lua package path"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/leafo/loadkit"
+_rockspec=$_rockname-${version}-$_rocksrel.rockspec
+distfiles="https://github.com/leafo/loadkit/archive/refs/tags/v${version}.tar.gz
+ https://github.com/leafo/loadkit/releases/download/v${version}/$_rockspec"
+checksum="39742dd5db94f13886810cf69fc9b3db89bba3180c060384136115c9da431196
+ 5404ec4cad62351e35c196ee87810ab3977405b7d94fe9a8dc5f64906007dd21"
+skip_extraction=$_rockspec
+
+post_extract() {
+ cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/$_rockspec ${XBPS_BUILDIR}/${wrksrc}/
+}
+
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "$_rockspec"
+}
+
+do_install() {
+ _package 5.4
+}
+
+
+lua53-loadkit_package() {
+ build_style=meta
+ depends="lua53"
+ pkg_install() {
+ _package 5.3
+ }
+}
+
+lua52-loadkit_package() {
+ build_style=meta
+ depends="lua52"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua51-loadkit_package() {
+ build_style=meta
+ depends="lua51"
+ pkg_install() {
+ _package 5.1
+ }
+}
From fe26e429dca51e8b2177b50f5bc08d479b8aa3b9 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:02:20 +0500
Subject: [PATCH 11/14] New package: lua52-compat53-0.13
---
srcpkgs/lua51-compat53 | 1 +
srcpkgs/lua52-compat53/template | 33 +++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 120000 srcpkgs/lua51-compat53
create mode 100644 srcpkgs/lua52-compat53/template
diff --git a/srcpkgs/lua51-compat53 b/srcpkgs/lua51-compat53
new file mode 120000
index 00000000000000..96fb1cb4da1a6b
--- /dev/null
+++ b/srcpkgs/lua51-compat53
@@ -0,0 +1 @@
+lua52-compat53
\ No newline at end of file
diff --git a/srcpkgs/lua52-compat53/template b/srcpkgs/lua52-compat53/template
new file mode 100644
index 00000000000000..9c9386654384de
--- /dev/null
+++ b/srcpkgs/lua52-compat53/template
@@ -0,0 +1,33 @@
+# Template file for 'lua52-compat53'
+pkgname=lua52-compat53
+version=0.13
+revision=1
+hostmakedepends="lua52 lua51 luarocks-lua52"
+makedepends="lua52-devel lua51-devel"
+depends="lua52"
+short_desc="Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/lunarmodules/lua-compat5.3"
+distfiles="https://github.com/lunarmodules/lua-compat-5.3/archive/refs/tags/v${version}.tar.gz"
+checksum=f5dc30e7b1fda856ee4d392be457642c1f0c259264a9b9bfbcb680302ce88fc2
+
+_rockname=${pkgname#lua52-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.2
+ vlicense LICENSE
+}
+
+lua51-compat53_package() {
+ build_style=meta
+ depends="lua51"
+ pkg_install() {
+ _package 5.1
+ }
+}
From 6ed8150332555de4903f35e06cde86faaf53c762 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:02:29 +0500
Subject: [PATCH 12/14] sile: update to 0.15.4.
---
srcpkgs/sile/patches/lua.patch | 8 --------
srcpkgs/sile/template | 19 ++++++++-----------
2 files changed, 8 insertions(+), 19 deletions(-)
delete mode 100644 srcpkgs/sile/patches/lua.patch
diff --git a/srcpkgs/sile/patches/lua.patch b/srcpkgs/sile/patches/lua.patch
deleted file mode 100644
index 12ddc52ddbaaea..00000000000000
--- a/srcpkgs/sile/patches/lua.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/sile.in 2019-01-07 09:48:08.943943000 +0100
-+++ b/sile.in 2019-01-07 09:48:08.943943000 +0100
-@@ -1,4 +1,4 @@
--#!@LUA@
-+#!@LUA@@LUA_VERSION@
- SYSTEM_SILE_PATH = "@SILE_PATH@"
- SYSTEM_SILE_LIB_PATH = "@SILE_LIB_PATH@"
- SHARED_LIB_EXT = "@SHARED_LIB_EXT@"
diff --git a/srcpkgs/sile/template b/srcpkgs/sile/template
index 097fccd2b39eaa..e90f81d0654f79 100644
--- a/srcpkgs/sile/template
+++ b/srcpkgs/sile/template
@@ -1,29 +1,26 @@
# Template file for 'sile'
pkgname=sile
-version=0.9.5.1
-revision=9
+version=0.15.4
+revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config"
+hostmakedepends="jq poppler cargo rust pkg-config"
+configure_args="--with-system-lua-sources --with-system-luarocks"
makedepends="harfbuzz-devel lua51-devel lua51-lpeg lua51-luaexpat
- lua51-zlib lua51-luafilesystem lua51-luasocket lua51-luasec"
-depends="lua51-lpeg lua51-luaexpat lua51-zlib lua51-luafilesystem
+ lua51-zlib lua51-luafilesystem lua51-luasocket lua51-luasec lua51-cassowary lua51-compat53 lua51-cldr lua51-fluent lua51-loadkit lua51-linenoise lua51-cliargs lua51-luarepl lua51-luasocket lua51-luasec lua51-luautf8 lua51-vstruct fontconfig-devel LuaJIT-devel font-sil-gentium"
+depends="lua51-lpeg lua51-luaexpat lua51-zlib lua51-luafilesystem lua51-cassowary
lua51-luasocket lua51-luasec"
short_desc="Modern typesetting system inspired by TeX"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="http://www.sile-typesetter.org/"
-distfiles="https://github.com/simoncozens/sile/releases/download/v${version}/sile-${version}.tar.bz2"
-checksum=60cdcc4509971973feab352dfc1a86217cc1fdb12d56823f04d863afef92003a
+distfiles="https://github.com/simoncozens/sile/releases/download/v${version}/sile-${version}.tar.zst"
+checksum=35d837b382ef4933489baea169264b94143da1538e71cdbc640c2f75c39e2358
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" lua51 lua51-devel lua51-lpeg luaexpat lua51-zlib luafilesystem
luasocket lua51-luasec"
fi
-post_install() {
- vlicense LICENSE
-}
-
libtexpdf_package() {
short_desc="PDF library extracted from TeX's dvipdfmx"
pkg_install() {
From 197fc99e806d72587ff26c9e4e7bb282e1d0d807 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:04:06 +0500
Subject: [PATCH 13/14] New package: lua54-cassowary-2.3.2
---
srcpkgs/lua51-cassowary | 1 +
srcpkgs/lua52-cassowary | 1 +
srcpkgs/lua53-cassowary | 1 +
srcpkgs/lua54-cassowary/template | 49 ++++++++++++++++++++++++++++++++
4 files changed, 52 insertions(+)
create mode 120000 srcpkgs/lua51-cassowary
create mode 120000 srcpkgs/lua52-cassowary
create mode 120000 srcpkgs/lua53-cassowary
create mode 100644 srcpkgs/lua54-cassowary/template
diff --git a/srcpkgs/lua51-cassowary b/srcpkgs/lua51-cassowary
new file mode 120000
index 00000000000000..b1ab1c3518ed21
--- /dev/null
+++ b/srcpkgs/lua51-cassowary
@@ -0,0 +1 @@
+lua54-cassowary
\ No newline at end of file
diff --git a/srcpkgs/lua52-cassowary b/srcpkgs/lua52-cassowary
new file mode 120000
index 00000000000000..b1ab1c3518ed21
--- /dev/null
+++ b/srcpkgs/lua52-cassowary
@@ -0,0 +1 @@
+lua54-cassowary
\ No newline at end of file
diff --git a/srcpkgs/lua53-cassowary b/srcpkgs/lua53-cassowary
new file mode 120000
index 00000000000000..b1ab1c3518ed21
--- /dev/null
+++ b/srcpkgs/lua53-cassowary
@@ -0,0 +1 @@
+lua54-cassowary
\ No newline at end of file
diff --git a/srcpkgs/lua54-cassowary/template b/srcpkgs/lua54-cassowary/template
new file mode 100644
index 00000000000000..266e652b6c6ace
--- /dev/null
+++ b/srcpkgs/lua54-cassowary/template
@@ -0,0 +1,49 @@
+# Template file for 'lua54-cassowary'
+pkgname=lua54-cassowary
+version=2.3.2
+revision=1
+hostmakedepends="lua54 lua53 lua52 lua51 luarocks-lua54"
+makedepends="lua54-devel lua53-devel lua52-devel lua51-devel"
+depends="lua54 lua54-penlight"
+short_desc="The cassowary constraint solver"
+maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
+license="MIT"
+homepage="https://github.com/sile-typesetter/lua-cassowary"
+distfiles="https://github.com/sile-typesetter/cassowary.lua/archive/refs/tags/v${version}.tar.gz"
+checksum=20fe7309f59004ce59e6c65d69ed9993de907267fd0314fc224f40e017d59798
+
+_rockname=${pkgname#lua54-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
+}
+
+do_install() {
+ _package 5.4
+ vlicense LICENSE
+}
+
+lua51-cassowary_package() {
+ build_style=meta
+ depends="lua51 lua51-penlight"
+ pkg_install() {
+ _package 5.1
+ }
+}
+
+lua52-cassowary_package() {
+ build_style=meta
+ depends="lua52 lua52-penlight"
+ pkg_install() {
+ _package 5.2
+ }
+}
+
+lua53-cassowary_package() {
+ build_style=meta
+ depends="lua53 lua53-penlight"
+ pkg_install() {
+ _package 5.3
+ }
+}
From decb7aa493c4da3250bbc9977b0c8d04b8e97edb Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Fri, 12 Jul 2024 18:04:13 +0500
Subject: [PATCH 14/14] lua51-luasocket: rebuild with luarocks.
---
srcpkgs/lua51-luasocket/template | 62 +++++++++-----------------------
1 file changed, 16 insertions(+), 46 deletions(-)
diff --git a/srcpkgs/lua51-luasocket/template b/srcpkgs/lua51-luasocket/template
index 69ad4cc7cdebb6..235d8367da3276 100644
--- a/srcpkgs/lua51-luasocket/template
+++ b/srcpkgs/lua51-luasocket/template
@@ -1,8 +1,9 @@
# Template file for 'lua51-luasocket'
pkgname=lua51-luasocket
version=3.1.0
-revision=2
-build_style=gnu-makefile
+revision=3
+build_style=meta
+hostmakedepends="luarocks-lua54"
depends="lua51"
_desc="Network support for the Lua language"
short_desc="${_desc} (5.1.x)"
@@ -18,47 +19,16 @@ for _lua_version in $_lua_versions; do
makedepends+=" ${_lua_version/./}-devel"
done
-post_extract() {
- mkdir -p lua51
- mv * lua51 || true
- cp -a lua51 lua52
- cp -a lua51 lua53
- cp -a lua51 lua54
-}
-
-do_build() {
- for _lua_version in $_lua_versions; do
- cd "${wrksrc}/${_lua_version/./}/src/"
- make \
- LD="$CC" \
- CC="$CC" \
- LUAINC="${XBPS_CROSS_BASE}/usr/include/${_lua_version}" \
- LUAVER="${_lua_version#lua}" \
- LUAV="${_lua_version#lua}" \
- PLAT=linux \
- ${makejobs} \
- all-unix
- done
+_rockname=${pkgname#lua51-}
+_rocksrel=1
+_package() {
+ luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
+ make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
}
do_install() {
- for _lua_version in $_lua_versions; do
- cd "${wrksrc}/${_lua_version/./}/src/"
- make \
- STRIP=true \
- PREFIX=/usr \
- prefix=/usr \
- DESTDIR="${DESTDIR}" \
- LUAVER="${_lua_version#lua}" \
- LUAV="${_lua_version#lua}" \
- LDIR_linux="lib/lua/${_lua_version#lua}" \
- PLAT=linux \
- install
- done
-}
-
-post_install() {
- vlicense ./lua51/LICENSE
+ _package 5.1
+ vlicense LICENSE
}
luasocket_package() {
@@ -71,8 +41,8 @@ lua52-luasocket_package() {
depends="lua52"
short_desc="${_desc} (5.2.x)"
pkg_install() {
- vmove usr/lib/lua/5.2
- vlicense ${wrksrc}/lua52/LICENSE
+ _package 5.2
+ vlicense LICENSE
}
}
@@ -80,8 +50,8 @@ lua53-luasocket_package() {
depends="lua53"
short_desc="${_desc} (5.3.x)"
pkg_install() {
- vmove usr/lib/lua/5.3
- vlicense ${wrksrc}/lua53/LICENSE
+ _package 5.3
+ vlicense LICENSE
}
}
@@ -89,7 +59,7 @@ lua54-luasocket_package() {
depends="lua54"
short_desc="${_desc} (5.4.x)"
pkg_install() {
- vmove usr/lib/lua/5.4
- vlicense ${wrksrc}/lua54/LICENSE
+ _package 5.4
+ vlicense LICENSE
}
}
next prev parent reply other threads:[~2024-07-12 15:40 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-12 13:06 [PR PATCH] " Luciogi
2024-07-12 14:33 ` [PR PATCH] [Updated] " Luciogi
2024-07-12 15:40 ` Luciogi [this message]
2024-07-12 17:33 ` Luciogi
2024-07-13 6:01 ` Luciogi
2024-07-13 6:17 ` Luciogi
2024-07-13 8:03 ` Luciogi
2024-07-13 8:34 ` Luciogi
2024-07-13 8:34 ` Luciogi
2024-07-13 9:36 ` Luciogi
2024-07-13 9:39 ` Luciogi
2024-07-13 9:41 ` Luciogi
2024-07-13 10:20 ` [PR PATCH] [Updated] " Luciogi
2024-07-13 10:20 ` Luciogi
2024-07-13 10:20 ` Luciogi
2024-07-13 15:09 ` [PR PATCH] [Updated] " Luciogi
2024-07-13 15:10 ` Luciogi
2024-07-13 15:47 ` [PR PATCH] [Updated] " Luciogi
2024-08-30 11:54 ` Luciogi
2024-08-30 11:55 ` Luciogi
2024-08-30 14:07 ` Luciogi
2024-08-30 15:13 ` Luciogi
2024-08-30 20:51 ` [PR REVIEW] " alerque
2024-08-30 20:52 ` alerque
2024-08-31 7:03 ` [PR REVIEW] " Luciogi
2024-08-31 7:05 ` Luciogi
2024-08-31 8:54 ` alerque
2024-08-31 8:58 ` alerque
2024-09-04 17:41 ` [PR PATCH] [Updated] Sile update to 0.15.5 Luciogi
2024-09-04 17:42 ` [PR REVIEW] " Luciogi
2024-09-05 9:48 ` alerque
2024-09-05 9:54 ` alerque
2024-09-05 9:54 ` alerque
2024-09-05 16:37 ` [PR PATCH] [Updated] " Luciogi
2024-09-05 16:38 ` [PR REVIEW] " Luciogi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240712154036.7ABB728CD1@inbox.vuxu.org \
--to=luciogi@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).