[arch-commits] Commit in lua-lanes/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Fri Apr 22 14:25:30 UTC 2022


    Date: Friday, April 22, 2022 @ 14:25:30
  Author: alerque
Revision: 1187323

upgpkg: lua-lanes 3.16.0-3; drop CFLAGS workarounds obsoleted by luarocks 3.9.0

Modified:
  lua-lanes/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-22 14:23:39 UTC (rev 1187322)
+++ PKGBUILD	2022-04-22 14:25:30 UTC (rev 1187323)
@@ -6,7 +6,7 @@
 pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
 pkgname=lua-lanes
 pkgver=3.16.0
-pkgrel=2
+pkgrel=3
 _rockrel=0
 pkgdesc='a lightweight, native, lazy evaluating multithreading library'
 arch=(x86_64)
@@ -25,12 +25,10 @@
 
 build() {
 	cd "$_archive"
-	for LUAVER in 5.1 5.2 5.3 5.4; do
+	for LUAVER in 5.{1,2,3,4}; do
 		luarocks --lua-version "$LUAVER" \
-			CFLAGS="$CPPFLAGS $CFLAGS -fPIC" \
-			LIBFLAG="$LDFLAGS -shared" \
 			make --pack-binary-rock --deps-mode none -- "$_archive-$_rockrel.rockspec"
-		install -Dm0644 -t "lua$LUAVER/" "$_rock"
+		install -Dm0644 -t "lua-$LUAVER/" "$_rock"
 	done
 }
 
@@ -38,7 +36,7 @@
 	cd "$_archive"
 	depends=("${pkgname%-*}")
 	luarocks --lua-version "$1" --tree "$pkgdir/usr/" \
-		install --deps-mode none --no-manifest -- "lua$1/$_rock"
+		install --deps-mode none --no-manifest -- "lua-$1/$_rock"
 	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYRIGHT
 }
 



More information about the arch-commits mailing list