app=at-spi2-core
version=2.34.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/at-spi2-core"
requires="libffi glib pcre dbus libx11 libxau libxdmcp "
desc="Protocol definitions and daemon for D-Bus at-spi"

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

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

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

  ninja
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
99f6773e29fb5fcb339cbe5b23133dab78bc52e3c46a1d5bd748788c48345223f1def5078ac48e58756a7692459b177b0e26dc8059898a5ccac56ceb495b7de8  at-spi2-core-2.34.0.tar.xz
"
