Date: Tuesday, March 23, 2021 @ 10:13:12
  Author: alucryd
Revision: 900233

upgpkg: lib32-libgudev 236-1

Modified:
  lib32-libgudev/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++-----------------------
 1 file changed, 11 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-03-23 10:12:04 UTC (rev 900232)
+++ PKGBUILD    2021-03-23 10:13:12 UTC (rev 900233)
@@ -3,7 +3,7 @@
 # Contributor: Evangelos Foutras <evange...@foutrelis.com>
 
 pkgname=lib32-libgudev
-pkgver=234
+pkgver=236
 pkgrel=1
 pkgdesc='GObject bindings for libudev'
 arch=(x86_64)
@@ -16,46 +16,34 @@
 )
 makedepends=(
   git
-  gtk-doc
+  meson
   python
 )
 provides=(libgudev-1.0.so)
-_tag=e9342ee019482a08fe435d6b656f8a6bdd196bce
+_tag=e4a0b196615690e4c1910af3cd57872af4f8e2ec
 source=(git+https://gitlab.gnome.org/GNOME/libgudev.git#tag=${_tag})
 sha256sums=(SKIP)
 
 pkgver() {
   cd libgudev
-
   git describe --tags
 }
 
-prepare() {
-  cd libgudev
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd libgudev
-
   export CC='gcc -m32'
   export CXX='g++ -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
-  ./configure \
-    --prefix=/usr \
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+  arch-meson libgudev build \
     --libdir=/usr/lib32 \
-    --localstatedir=/var \
-    --sysconfdir=/etc \
-    --disable-gtk-doc \
-    --disable-umockdev
-  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+    -Dintrospection=disabled \
+    -Dgtk_doc=false \
+    -Dtests=disabled \
+    -Dvapi=disabled
+  meson compile -C build
 }
 
 package() {
-  make DESTDIR="${pkgdir}" -C libgudev install
+  DESTDIR="${pkgdir}" meson install -C build
   rm -rf "${pkgdir}"/usr/{include,share}
 }
 

Reply via email to