# Maintainer: PktSurf <smlinux@pktsurf.in>
app=atkmm
version=2.24.3
build=1sml
homepage="https://www.gtkmm.org/"
download="https://gitlab.gnome.org/GNOME/atkmm/-/archive/$version/atkmm-$version.tar.bz2"
desc="C++ bindings for ATK"
requires="perl atk glibmm"

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

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

build() {
  ./configure \
    --prefix="" \
    --disable-documentation

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
fcf1ab1e6e1e869e0bafca5c865b6fb2f94f4dc288d102631e00247655726b45204e9c2e37f4df001b5db298fc58dc592b4804f3499a346a7071f8f5c95a6b66  atkmm-2.24.3.tar.lz
"
