APP=glib-networking
VERSION=2.46.1
BUILD=1sml
HOMEPAGE="https://gitlab.gnome.org/GNOME/glib-networking"
DOWNLOAD="https://gitlab.gnome.org/GNOME/glib-networking/-/archive/2.46.1/glib-networking-2.46.1.tar.bz2"
DESC="Network extensions for GLib"
REQUIRES="ca-certificates glib gnutls p11-kit"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
bea5de10af83d68020dd9363622b5fb31ad077ee51f9f62187bdf3e6c8dbc2ade9bf466ad62109cbbcab4d95a67318fc6a38f19c2d19f2f6b018d3da0fa10dd6  glib-networking-2.46.1.tar.lz
"
