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

Felix Yan felixonmars at archlinux.org
Fri Jul 31 14:33:16 UTC 2020


    Date: Friday, July 31, 2020 @ 14:33:14
  Author: felixonmars
Revision: 392777

upgpkg: lgi 0.9.2-2: rebuild for lua 5.4

Modified:
  lgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 14:27:54 UTC (rev 392776)
+++ PKGBUILD	2020-07-31 14:33:14 UTC (rev 392777)
@@ -3,7 +3,7 @@
 # Contributor: Sébastien Luttringer
 
 pkgbase=lgi
-pkgname=('lua-lgi')
+pkgname=('lua53-lgi')
 pkgver=0.9.2
 pkgrel=2
 pkgdesc='Lua bindings for gnome/gobject using gobject-introspection library'
@@ -10,7 +10,7 @@
 url='https://github.com/pavouk/lgi'
 arch=('x86_64')
 license=('MIT')
-depends=('glibc' 'glib2' 'libffi' 'lua' 'gobject-introspection-runtime')
+depends=('glibc' 'glib2' 'libffi' 'lua53' 'gobject-introspection-runtime')
 makedepends=('gobject-introspection')
 replaces=('lgi')
 conflicts=('lgi')
@@ -19,7 +19,7 @@
 
 build() {
   cd ${pkgbase}-${pkgver}
-  make
+  CFLAGS="$CFLAGS -I/usr/include/lua5.3" make
 }
 
 check() {
@@ -28,7 +28,7 @@
   # make check
 }
 
-package_lua-lgi() {
+package_lua53-lgi() {
   cd ${pkgbase}-${pkgver}
   make \
     LUA_LIBDIR=/usr/lib/lua/5.3 \



More information about the arch-commits mailing list