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

Jan Steffens heftig at gemini.archlinux.org
Thu Jan 13 16:02:50 UTC 2022


    Date: Thursday, January 13, 2022 @ 16:02:49
  Author: heftig
Revision: 1101903

1.34.0-1

Modified:
  lib32-libnm/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-13 15:48:05 UTC (rev 1101902)
+++ PKGBUILD	2022-01-13 16:02:49 UTC (rev 1101903)
@@ -8,11 +8,11 @@
 # Contributor: Ryszard Knop <dragoon at dragonic.eu>
 
 pkgname=lib32-libnm
-pkgver=1.32.12
+pkgver=1.34.0
 pkgrel=1
 pkgdesc="NetworkManager client library (32-bit)"
+url="https://networkmanager.dev/"
 arch=(x86_64)
-url=https://wiki.gnome.org/Projects/NetworkManager
 license=(LGPL)
 depends=(
   lib32-gcc-libs
@@ -34,17 +34,17 @@
   meson
 )
 provides=(libnm.so)
-_tag=fa245cb7ae14b3317c0f876cb3701fd0e461b066
+_tag=f0adfd91d63f8d14efc88a673377c935da2eb65a
 source=(git+https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git#tag=${_tag})
-b2sums=(SKIP)
+b2sums=('SKIP')
 
-prepare() {
+pkgver() {
   cd NetworkManager
+  git describe --tags | sed 's/-dev/dev/;s/-rc/rc/;s/[^-]*-g/r&/;s/-/+/g'
 }
 
-pkgver() {
+prepare() {
   cd NetworkManager
-  git describe --tags
 }
 
 build() {
@@ -51,7 +51,8 @@
   export CC='gcc -m32'
   export CXX='g++ -m32'
   export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
-  local meson_args=(
+
+  local meson_options=(
     # system paths
     --libdir=/usr/lib32
     -D dbus_conf_dir=/usr/share/dbus-1/system.d
@@ -94,7 +95,7 @@
     -D qt=false
   )
 
-  arch-meson NetworkManager build "${meson_args[@]}"
+  arch-meson NetworkManager build "${meson_options[@]}"
   meson compile -C build
 }
 
@@ -103,4 +104,4 @@
   rm -rf "${pkgdir}"/{etc,usr/{bin,include,lib,lib32/NetworkManager,share},var}
 }
 
-# vim: ts=2 sw=2 et:
+# vim:set sw=2 et:



More information about the arch-commits mailing list