# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gtkmm3
version=3.18.1
build=1sml
homepage="https://www.gtkmm.org"
download="https://download.gnome.org/sources/gtkmm/3.18/gtkmm-$version.tar.xz"
desc="C++ bindings for GTK+ 3"
requires="gtk3 atkmm pangomm"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
cc28863e2b8bb57216578db1f6721bef35c84f94d81a3132e71bf5b608a0d2ea745e32099dde7039676ab89508660f6edc1b798d9c776a7267b97e0e42463755  gtkmm-3.18.1.tar.lz
"
