Date: Tuesday, May 29, 2018 @ 09:04:51
  Author: alucryd
Revision: 333152

upgpkg: lib32-glib-networking 2.56.1-1

Modified:
  lib32-glib-networking/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-05-29 09:04:42 UTC (rev 333151)
+++ PKGBUILD    2018-05-29 09:04:51 UTC (rev 333152)
@@ -3,7 +3,7 @@
 # Contributor: josephgbr <rafael.f...@gmail.com>
 
 pkgname=lib32-glib-networking
-pkgver=2.54.1
+pkgver=2.56.1
 pkgrel=1
 pkgdesc='Network-related giomodules for glib'
 arch=('x86_64')
@@ -10,31 +10,23 @@
 url='https://git.gnome.org/browse/glib-networking/'
 license=('GPL2')
 depends=('glib-networking' 'lib32-glib2' 'lib32-gnutls' 'lib32-libproxy')
-makedepends=('ca-certificates' 'gcc-multilib' 'intltool')
+makedepends=('ca-certificates' 'gcc-multilib' 'intltool' 'meson')
 
source=("http://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-${pkgver}.tar.xz";)
-sha256sums=('eaa787b653015a0de31c928e9a17eb57b4ce23c8cf6f277afaec0d685335012f')
+sha256sums=('df47b0e0a037d2dcf6b1846cbdf68dd4b3cc055e026bb40c4a55f19f29f635c8')
 
 build() {
-  cd glib-networking-${pkgver}
-
   export CC='gcc -m32'
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  ./configure \
-    --prefix='/usr' \
+  arch-meson glib-networking-${pkgver} build \
     --libdir='/usr/lib32' \
-    --libexecdir='/usr/lib32/glib-networking' \
-    --sysconfdir='/etc' \
-    --disable-installed-tests \
-    --disable-static
-  make
+    --libexecdir='/usr/lib32/glib-networking'
+  ninja -C build
 }
 
 package() {
-  cd glib-networking-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja -C build install
   rm -rf "${pkgdir}"/usr/{lib,share}
 }
 

Reply via email to