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

Felix Yan felixonmars at archlinux.org
Wed Jul 1 15:18:57 UTC 2020


    Date: Wednesday, July 1, 2020 @ 15:18:56
  Author: felixonmars
Revision: 390691

upgpkg: cmake 3.17.3-3: add support for lua 5.4

Modified:
  cmake/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 11:50:20 UTC (rev 390690)
+++ PKGBUILD	2020-07-01 15:18:56 UTC (rev 390691)
@@ -4,7 +4,7 @@
 
 pkgname=cmake
 pkgver=3.17.3
-pkgrel=2
+pkgrel=3
 pkgdesc='A cross-platform open-source make system'
 arch=('x86_64')
 url="https://www.cmake.org/"
@@ -20,6 +20,8 @@
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -p1 -i ../cmake-cppflags.patch # Honor CPPFLAGS https://gitlab.kitware.com/cmake/cmake/issues/12928
+
+  sed -i 's/LUA_VERSIONS5 5.3/LUA_VERSIONS5 5.4 5.3/' Modules/FindLua.cmake # Add Lua 5.4 to search list
 }
 
 build() {



More information about the arch-commits mailing list