# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=glib-networking pkgver=2.62.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=release \ --prefix=/usr \ --default-library=shared \ . build ninja -C build } check() { ninja -C build test } package() { DESTDIR="$pkgdir" ninja -C build install } sha512sums="2b9b0414baba307d35f8f6539fcbf0cf224da1970c532b130718deeeaa85f5601b8285ce822888273afed7fa643b62310bf306bbfa22f465134af345f3cd0e9d glib-networking-2.62.0.tar.xz"