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

Caleb Maclennan alerque at gemini.archlinux.org
Thu Dec 30 07:54:50 UTC 2021


    Date: Thursday, December 30, 2021 @ 07:54:49
  Author: alerque
Revision: 1088092

upgpkg: lua-term 0.7-7; Pass CFLAGS too

Modified:
  lua-term/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 07:46:24 UTC (rev 1088091)
+++ PKGBUILD	2021-12-30 07:54:49 UTC (rev 1088092)
@@ -6,7 +6,7 @@
 pkgver=0.7
 _pkgver=0.07
 _rockrel=1
-pkgrel=6
+pkgrel=7
 pkgdesc='Terminal functions for Lua'
 arch=(x86_64)
 url="https://github.com/hoelzro/$pkgbase"
@@ -24,6 +24,7 @@
 	cd "$_archive"
 	depends=("${pkgname%-*}")
 	luarocks --lua-version="$1" --tree="$pkgdir/usr/" \
+		CFLAGS="$CPPFLAGS $CFLAGS -fPIC" \
 		LIBFLAG="$LDFLAGS -shared" \
 		make --deps-mode=none --no-manifest "$pkgbase-$pkgver-$_rockrel.rockspec"
 	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING



More information about the arch-commits mailing list