# Maintainer: PktSurf <smlinux@pktsurf.in>
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/$version/glib-networking-$version.tar.bz2"
desc="Network extensions for GLib"
requires="ca-certificates glib gnutls p11-kit"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

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