# Maintainer: PktSurf <smlinux@pktsurf.in>
app=at-spi2-atk
version=2.34.1
build=1sml
homepage="https://wiki.gnome.org/Accessibility"
desc="A GTK+ module that bridges ATK to D-Bus at-spi"
requires="glib libx11 dbus at-spi2-core"

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="
883c3633d6fed3e7ad080c8ed1347962772e9e861d9c7a0f3447a7f67277d20996eeeaecaf20eba48ced1a2cfe4ee5b0443c16f7503fc1f71603b88fe65dbec7  at-spi2-atk-2.34.1.tar.lz
"
