# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=glib-networking pkgver=2.64.1 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="0e6ab3aaca1d53ffee18a804a22008d13fd60bb4a92027f293bb7474c35691cf49ab7802f2958b18f36e12b8f8cfa0eb48ab3c3b31e820877113fc599b5b7583 glib-networking-2.64.1.tar.xz"