# Maintainer: PktSurf <smlinux@pktsurf.in>
app=atk
version=2.36.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/atk"
desc="Interface definitions of accessibility infrastructure"
requires="gobject-introspection"

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

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

build() {
  mkdir -p smbuild && cd smbuild
  meson .. --prefix="/"

  ninja 
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
364311348aaffdf36ab61088beabb72dfdf387f681e00822fd6d56a640b6f34cbc6bdf6d3a4cc214b22fabe3249c57858417baeaa5fa8e739959a79b523f1edc  atk-2.36.0.tar.lz
"