app=atk
version=2.34.1
build=1sml
homepage="https://gitlab.gnome.org/GNOME/atk"
desc="Interface definitions of accessibility infrastructure"
requires="gobject-introspection"

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

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

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

  ninja 
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
4a67adfb5b25e08de1892d4ac2ae0c3ed0011ce80b0b2066462676f86563f96429202b0d036ee909e51bf678574a4caf83a9e0ea5f409bb6fc02bc9e9bbc53c9  atk-2.34.1.tar.lz
"
