Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
luarocks


Commits:
c2d4d93e by Caleb Maclennan at 2026-01-05T17:08:24+03:00
upgpkg: 3.13.0-2: Overhaul for Lua 5.5

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + luarocks-make-manifest-5.5.hook


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = luarocks
        pkgdesc = Deployment and management system for Lua modules
        pkgver = 3.13.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://luarocks.org/
        install = luarocks.install
        arch = any
@@ -22,12 +22,14 @@ pkgbase = luarocks
        backup = etc/luarocks/config-5.2.lua
        backup = etc/luarocks/config-5.3.lua
        backup = etc/luarocks/config-5.4.lua
+       backup = etc/luarocks/config-5.5.lua
        source = https://luarocks.org/releases/luarocks-3.13.0.tar.gz
        source = https://luarocks.org/releases/luarocks-3.13.0.tar.gz.asc
        source = luarocks-make-manifest-5.1.hook
        source = luarocks-make-manifest-5.2.hook
        source = luarocks-make-manifest-5.3.hook
        source = luarocks-make-manifest-5.4.hook
+       source = luarocks-make-manifest-5.5.hook
        source = luarocks.bash
        source = luarocks.fish
        source = luarocks.zsh
@@ -41,6 +43,7 @@ pkgbase = luarocks
        sha512sums = 
25b2303f39ecf8e6ce44bd6c9f59d322eb748eea89e4ca31991fe36eae46949062bd4d3c876de488b4dd7354fcb0531b5e29454dec99a7f981f3dc857776d2bb
        sha512sums = 
5ac781ad861bb7c821daef5ca664c53d28f7f3a530b6ac1c0c64ec063476cb4e6b0a7705b86b67e0dbe3f439f4a46645ea430a5fb6a49b705d51f21788067fe3
        sha512sums = 
7c86aea103036be8ede7c0688ea2c45cfe2e9811710aacccc053530dae4bdfa0214e4e170c36de55d64d6fe851ee31923429678febe3c6790ac152945bc11264
+       sha512sums = 
7c86aea103036be8ede7c0688ea2c45cfe2e9811710aacccc053530dae4bdfa0214e4e170c36de55d64d6fe851ee31923429678febe3c6790ac152945bc11264
        sha512sums = 
b34ea6fde901f531f841784c7f75dec3f72ac055333fd1dbafbb2da5f5963b2dd4b89e28d2099e57d201877d0b00ae44bd2aced92ab41ef7a775c8f452985d3a
        sha512sums = 
57378406df3a0454ef46b3b97aaf92bbf2f597ed8216a33757e351efbb151f1fc44ef0ad33f24031eb62f70d3737bf02fb72c3682ea1d533aa9495ca11566ed5
        sha512sums = 
4a24e6f44c13711ba42eab155d7e5699707e9b8d00158104065ce01d8cfdbe5ea9c1e4f12ed10b324caa076b6862a630a4638092827698a5455181e38d821869


=====================================
PKGBUILD
=====================================
@@ -7,9 +7,9 @@
 
 pkgname=luarocks
 pkgver=3.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Deployment and management system for Lua modules'
-backup=(etc/luarocks/config-5.{1,2,3,4}.lua)
+backup=(etc/luarocks/config-5.{1,2,3,4,5}.lua)
 arch=('any')
 url='https://luarocks.org/'
 license=('custom')
@@ -25,7 +25,7 @@ optdepends=('cvs: for fetching sources from CVS repositories'
             'cmake: for building rocks that use the cmake build system'
             'lua-sec: HTTPS support')
 source=("https://luarocks.org/releases/$pkgname-$pkgver.tar.gz"{,.asc}
-        luarocks-make-manifest-5.{1,2,3,4}.hook
+        luarocks-make-manifest-5.{1,2,3,4,5}.hook
         luarocks.bash
         luarocks.fish
         luarocks.zsh
@@ -40,6 +40,7 @@ 
sha512sums=('44381bb7fd3d474f92b0d2d0bf492246907f88ac6d5bdbb30b889222d7556817770
             
'25b2303f39ecf8e6ce44bd6c9f59d322eb748eea89e4ca31991fe36eae46949062bd4d3c876de488b4dd7354fcb0531b5e29454dec99a7f981f3dc857776d2bb'
             
'5ac781ad861bb7c821daef5ca664c53d28f7f3a530b6ac1c0c64ec063476cb4e6b0a7705b86b67e0dbe3f439f4a46645ea430a5fb6a49b705d51f21788067fe3'
             
'7c86aea103036be8ede7c0688ea2c45cfe2e9811710aacccc053530dae4bdfa0214e4e170c36de55d64d6fe851ee31923429678febe3c6790ac152945bc11264'
+            
'7c86aea103036be8ede7c0688ea2c45cfe2e9811710aacccc053530dae4bdfa0214e4e170c36de55d64d6fe851ee31923429678febe3c6790ac152945bc11264'
             
'b34ea6fde901f531f841784c7f75dec3f72ac055333fd1dbafbb2da5f5963b2dd4b89e28d2099e57d201877d0b00ae44bd2aced92ab41ef7a775c8f452985d3a'
             
'57378406df3a0454ef46b3b97aaf92bbf2f597ed8216a33757e351efbb151f1fc44ef0ad33f24031eb62f70d3737bf02fb72c3682ea1d533aa9495ca11566ed5'
             
'4a24e6f44c13711ba42eab155d7e5699707e9b8d00158104065ce01d8cfdbe5ea9c1e4f12ed10b324caa076b6862a630a4638092827698a5455181e38d821869'
@@ -57,10 +58,11 @@ prepare() {
 build() {
   cd "$pkgname-$pkgver"
   ./configure --prefix=/usr
-  make ./build/luarocks ./build/luarocks-admin ./build/config-5.4.lua
+  make ./build/luarocks ./build/luarocks-admin ./build/config-5.5.lua
   make LUA_VERSION=5.1 LUA=/usr/bin/lua5.1 LUA_INCDIR=/usr/include/lua5.1 
./build/config-5.1.lua
   make LUA_VERSION=5.2 LUA=/usr/bin/lua5.2 LUA_INCDIR=/usr/include/lua5.2 
./build/config-5.2.lua
   make LUA_VERSION=5.3 LUA=/usr/bin/lua5.3 LUA_INCDIR=/usr/include/lua5.3 
./build/config-5.3.lua
+  make LUA_VERSION=5.4 LUA=/usr/bin/lua5.4 LUA_INCDIR=/usr/include/lua5.4 
./build/config-5.4.lua
 }
 
 package() {
@@ -68,6 +70,7 @@ package() {
   install -Dm644 luarocks-make-manifest-5.2.hook 
"$pkgdir/usr/share/libalpm/hooks/luarocks-make-manifest-5.2.hook"
   install -Dm644 luarocks-make-manifest-5.3.hook 
"$pkgdir/usr/share/libalpm/hooks/luarocks-make-manifest-5.3.hook"
   install -Dm644 luarocks-make-manifest-5.4.hook 
"$pkgdir/usr/share/libalpm/hooks/luarocks-make-manifest-5.4.hook"
+  install -Dm644 luarocks-make-manifest-5.5.hook 
"$pkgdir/usr/share/libalpm/hooks/luarocks-make-manifest-5.5.hook"
 
   install -Dm644 luarocks.bash 
"$pkgdir/usr/share/bash-completion/completions/luarocks"
   install -Dm644 luarocks.fish 
"$pkgdir/usr/share/fish/vendor_completions.d/luarocks.fish"
@@ -81,5 +84,6 @@ package() {
   make DESTDIR="$pkgdir" LUA_VERSION=5.1 install-config
   make DESTDIR="$pkgdir" LUA_VERSION=5.2 install-config
   make DESTDIR="$pkgdir" LUA_VERSION=5.3 install-config
+  make DESTDIR="$pkgdir" LUA_VERSION=5.4 install-config
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }


=====================================
luarocks-make-manifest-5.5.hook
=====================================
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/luarocks/rocks-5.4/*/**
+
+[Action]
+Description = Generating luarocks manifest for Lua 5.4...
+When = PostTransaction
+Exec = /usr/bin/luarocks-admin make_manifest --local-tree --lua-version=5.4 
/usr/lib/luarocks/rocks-5.4/
+Depends = luarocks



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/luarocks/-/commit/c2d4d93e051589a09c0dc651f97708076020df9a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/luarocks/-/commit/c2d4d93e051589a09c0dc651f97708076020df9a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to