Date: Monday, July 18, 2022 @ 01:45:57
  Author: svenstaro
Revision: 1254398

upgpkg: libluv 1.44.2_0-1

Modified:
  libluv/trunk/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-07-18 01:06:39 UTC (rev 1254397)
+++ PKGBUILD    2022-07-18 01:45:57 UTC (rev 1254398)
@@ -4,7 +4,7 @@
 
 pkgname=('libluv' 'lua-luv' 'lua51-luv' 'lua52-luv' 'lua53-luv')
 pkgbase=libluv
-pkgver=1.43.0_0
+pkgver=1.44.2_0
 pkgrel=1
 pkgdesc='Bare libuv bindings for lua'
 arch=('x86_64')
@@ -13,68 +13,68 @@
 depends=('libuv')
 makedepends=('cmake' 'libuv' 'ninja' 'luajit' 'lua>=5.4.0' 'lua<5.5.0' 'lua51' 
'lua52' 'lua53')
 
source=("https://github.com/luvit/luv/releases/download/${pkgver//_/-}/luv-${pkgver//_/-}.tar.gz";)
-sha256sums=('567a6f3dcdcf8a9b54ddc57ffef89d1e950d72832b85ee81c8c83a9d4e0e9de2')
+sha256sums=('30639f8e0fac7fb0c3a04b94a00f73c6d218c15765347ceb0998a6b72464b6cf')
 
 build() {
-    # build per-lua versions
-    for ver in 5.1 5.2 5.3 5.4; do
-      incdir="/usr/include/lua${ver}"
-      if [ "$ver" = "5.4" ] ; then
-        incdir="/usr/include"
-      fi
-      cmake -GNinja \
-        -Bbuild-lua${ver//./} \
-        -DLUA=/usr/bin/lua${ver} \
-        -DLUA_INCDIR=${incdir} \
-        -DLUADIR=/usr/share/lua/${ver} \
-        -DLIBDIR=/usr/lib/lua/${ver} \
-        -DWITH_SHARED_LIBUV=ON \
-        -DLUA_BUILD_TYPE=System \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        "luv-${pkgver//_/-}"
-      ninja -C "build-lua${ver//./}"
-    done
-
-    # build shared library version
+  # build per-lua versions
+  for ver in 5.1 5.2 5.3 5.4; do
+    incdir="/usr/include/lua${ver}"
+    if [ "$ver" = "5.4" ] ; then
+      incdir="/usr/include"
+    fi
     cmake -GNinja \
-      -Bbuild \
+      -Bbuild-lua${ver//./} \
+      -DLUA=/usr/bin/lua${ver} \
+      -DLUA_INCDIR=${incdir} \
+      -DLUADIR=/usr/share/lua/${ver} \
+      -DLIBDIR=/usr/lib/lua/${ver} \
       -DWITH_SHARED_LIBUV=ON \
       -DLUA_BUILD_TYPE=System \
-      -DBUILD_MODULE=OFF \
-      -DBUILD_SHARED_LIBS=ON \
       -DCMAKE_INSTALL_PREFIX=/usr \
       "luv-${pkgver//_/-}"
-    ninja -C "build"
+    ninja -C "build-lua${ver//./}"
+  done
+
+  # build shared library version
+  cmake -GNinja \
+    -Bbuild \
+    -DWITH_SHARED_LIBUV=ON \
+    -DLUA_BUILD_TYPE=System \
+    -DBUILD_MODULE=OFF \
+    -DBUILD_SHARED_LIBS=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    "luv-${pkgver//_/-}"
+  ninja -C "build"
 }
 
 package_libluv() {
-    depends+=('luajit')
-    provides+=('libluv')
-    DESTDIR="${pkgdir}" ninja -C "build" install
+  depends+=('luajit')
+  provides+=('libluv')
+  DESTDIR="${pkgdir}" ninja -C "build" install
 }
 
 package_lua-luv() {
-    pkgdesc+=' - Lua module'
-    depends+=('lua')
-    DESTDIR="${pkgdir}" ninja -C "build-lua54" install
+  pkgdesc+=' - Lua module'
+  depends+=('lua')
+  DESTDIR="${pkgdir}" ninja -C "build-lua54" install
 }
 
 package_lua51-luv() {
-    pkgdesc+=' - Lua 5.1 module'
-    depends+=('lua51')
-    DESTDIR="${pkgdir}" ninja -C "build-lua51" install
+  pkgdesc+=' - Lua 5.1 module'
+  depends+=('lua51')
+  DESTDIR="${pkgdir}" ninja -C "build-lua51" install
 }
 
 package_lua52-luv() {
-    pkgdesc+=' - Lua 5.2 module'
-    depends+=('lua52')
-    DESTDIR="${pkgdir}" ninja -C "build-lua52" install
+  pkgdesc+=' - Lua 5.2 module'
+  depends+=('lua52')
+  DESTDIR="${pkgdir}" ninja -C "build-lua52" install
 }
 
 package_lua53-luv() {
-    pkgdesc+=' - Lua 5.3 module'
-    depends+=('lua53')
-    DESTDIR="${pkgdir}" ninja -C "build-lua53" install
+  pkgdesc+=' - Lua 5.3 module'
+  depends+=('lua53')
+  DESTDIR="${pkgdir}" ninja -C "build-lua53" install
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to