# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=glib-networking pkgver=2.64.0 pkgrel=0 pkgdesc="Networking support for GLib" url="https://gitlab.gnome.org/GNOME/glib-networking" arch="all" license="LGPL-2.0-or-later" depends="ca-certificates gsettings-desktop-schemas" makedepends="glib-dev gnutls-dev libproxy-dev intltool libgcrypt-dev bash p11-kit-dev meson gsettings-desktop-schemas-dev" subpackages="$pkgname-lang" source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz" build() { meson \ --buildtype=plain \ --prefix=/usr \ --default-library=shared \ . build ninja -C build } check() { ninja -C build test } package() { DESTDIR="$pkgdir" ninja -C build install rm -rf "$pkgdir"/usr/lib/systemd } sha512sums="c5788167c114ab69812d4784912e0e468086f1ba1a8037dffc98466605af3f7a77f7a2666176da260669640bfbdf94ee959878c6297d93fe078d22fc6ff0584c glib-networking-2.64.0.tar.xz"