APP=pygobject3
VERSION=3.38.0
BUILD=1sml
HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
DOWNLOAD="https://gitlab.gnome.org/GNOME/pygobject/-/archive/3.38.0/pygobject-3.38.0.tar.bz2"
DESC="Python Bindings for GLib/GObject/GIO/GTK+"
REQUIRES="python3 gobject-introspection gtk3 "

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

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

  mkdir smbuild && cd smbuild
  meson .. \
  --prefix="/"

  ninja
  DESTDIR="$PKG" ninja install

  cp ../COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
dc77c064da2cfb5e196a7993142594c41f11d0505e92eeaa6c56e611faec1ad5d290c390f511a2788b9ffc936f775aff63b3033895d9dd031b7a73381d6d9d4f  PyGObject-3.38.0.tar.lz
"
