[arch-commits] Commit in luarocks/trunk (5 files)

Daurnimator daurnimator at archlinux.org
Tue Jan 26 11:57:40 UTC 2021


    Date: Tuesday, January 26, 2021 @ 11:57:39
  Author: daurnimator
Revision: 830693

upgpkg: luarocks 3.5.0-1

Also add pacman hook to regenerate manifests

Added:
  luarocks/trunk/luarocks-make-manifest-5.1.hook
  luarocks/trunk/luarocks-make-manifest-5.2.hook
  luarocks/trunk/luarocks-make-manifest-5.3.hook
  luarocks/trunk/luarocks-make-manifest-5.4.hook
Modified:
  luarocks/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   16 +++++++++++++---
 luarocks-make-manifest-5.1.hook |   12 ++++++++++++
 luarocks-make-manifest-5.2.hook |   12 ++++++++++++
 luarocks-make-manifest-5.3.hook |   12 ++++++++++++
 luarocks-make-manifest-5.4.hook |   12 ++++++++++++
 5 files changed, 61 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 11:49:19 UTC (rev 830692)
+++ PKGBUILD	2021-01-26 11:57:39 UTC (rev 830693)
@@ -4,7 +4,7 @@
 # Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
 
 pkgname=luarocks
-pkgver=3.4.0
+pkgver=3.5.0
 pkgrel=1
 pkgdesc='Deployment and management system for Lua modules'
 backup=(etc/luarocks/config-5.{1,2,3,4}.lua)
@@ -23,6 +23,7 @@
             '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.bash"
         "luarocks.fish"
         "luarocks.zsh"
@@ -29,8 +30,12 @@
         "luarocks-admin.bash"
         "luarocks-admin.fish"
         "luarocks-admin.zsh")
-sha512sums=('111ef93cbc4c0d79fdb26d9696b76e6b9e7fb1e30029db43feae9622cc6dd89991f1a62f87af0ca11f4043cb0d445ec73c5edf53e1af5f0d9bc4f756d4c18151'
+sha512sums=('fda01b7149839adf7c0e1c05d0f1793e79575c5d378d96ee1e197828e9b9b6e89a635f8a26a5b71db5b48465ef74b219fac18ecdbd59962cbf9da613b05dd42a'
             'SKIP'
+            'cd90cba877c0dd435b44328a0869e3102c52eb36ed5b764c3ee8a78de95772fe094419dc032db2e2c91d9a0aa35ab7c6e8a13e29b9feeb3a3172d7a129d005c0'
+            '25b2303f39ecf8e6ce44bd6c9f59d322eb748eea89e4ca31991fe36eae46949062bd4d3c876de488b4dd7354fcb0531b5e29454dec99a7f981f3dc857776d2bb'
+            '5ac781ad861bb7c821daef5ca664c53d28f7f3a530b6ac1c0c64ec063476cb4e6b0a7705b86b67e0dbe3f439f4a46645ea430a5fb6a49b705d51f21788067fe3'
+            '7c86aea103036be8ede7c0688ea2c45cfe2e9811710aacccc053530dae4bdfa0214e4e170c36de55d64d6fe851ee31923429678febe3c6790ac152945bc11264'
             'b34ea6fde901f531f841784c7f75dec3f72ac055333fd1dbafbb2da5f5963b2dd4b89e28d2099e57d201877d0b00ae44bd2aced92ab41ef7a775c8f452985d3a'
             '57378406df3a0454ef46b3b97aaf92bbf2f597ed8216a33757e351efbb151f1fc44ef0ad33f24031eb62f70d3737bf02fb72c3682ea1d533aa9495ca11566ed5'
             '4a24e6f44c13711ba42eab155d7e5699707e9b8d00158104065ce01d8cfdbe5ea9c1e4f12ed10b324caa076b6862a630a4638092827698a5455181e38d821869'
@@ -49,6 +54,11 @@
 }
 
 package() {
+  install -Dm644 luarocks-make-manifest-5.1.hook "$pkgdir/usr/share/libalpm/hooks/luarocks-make-manifest-5.1.hook"
+  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.bash "$pkgdir/usr/share/bash-completion/completions/luarocks"
   install -Dm644 luarocks.fish "$pkgdir/usr/share/fish/vendor_completions.d/luarocks.fish"
   install -Dm644 luarocks.zsh "$pkgdir/usr/share/zsh/site-functions/_luarocks"
@@ -61,5 +71,5 @@
   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
-  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }

Added: luarocks-make-manifest-5.1.hook
===================================================================
--- luarocks-make-manifest-5.1.hook	                        (rev 0)
+++ luarocks-make-manifest-5.1.hook	2021-01-26 11:57:39 UTC (rev 830693)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/luarocks/rocks-5.1/*/**
+
+[Action]
+Description = Generating luarocks manifest for Lua 5.1...
+When = PostTransaction
+Exec = /usr/bin/luarocks-admin make_manifest --local-tree --lua-version=5.1 /usr/lib/luarocks/rocks-5.1/
+Depends = luarocks

Added: luarocks-make-manifest-5.2.hook
===================================================================
--- luarocks-make-manifest-5.2.hook	                        (rev 0)
+++ luarocks-make-manifest-5.2.hook	2021-01-26 11:57:39 UTC (rev 830693)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/luarocks/rocks-5.2/*/**
+
+[Action]
+Description = Generating luarocks manifest for Lua 5.2...
+When = PostTransaction
+Exec = /usr/bin/luarocks-admin make_manifest --local-tree --lua-version=5.2 /usr/lib/luarocks/rocks-5.2/
+Depends = luarocks

Added: luarocks-make-manifest-5.3.hook
===================================================================
--- luarocks-make-manifest-5.3.hook	                        (rev 0)
+++ luarocks-make-manifest-5.3.hook	2021-01-26 11:57:39 UTC (rev 830693)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/luarocks/rocks-5.3/*/**
+
+[Action]
+Description = Generating luarocks manifest for Lua 5.3...
+When = PostTransaction
+Exec = /usr/bin/luarocks-admin make_manifest --local-tree --lua-version=5.3 /usr/lib/luarocks/rocks-5.3/
+Depends = luarocks

Added: luarocks-make-manifest-5.4.hook
===================================================================
--- luarocks-make-manifest-5.4.hook	                        (rev 0)
+++ luarocks-make-manifest-5.4.hook	2021-01-26 11:57:39 UTC (rev 830693)
@@ -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



More information about the arch-commits mailing list