app=libwnck3
version=3.18.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/libwnck"
download="https://gitlab.gnome.org/GNOME/libwnck/-/archive/3.18.0/libwnck-3.18.0.tar.bz2"
desc="Window Navigator Construction Kit"
requires="startup-notification gobject-introspection gtk3 "

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \

  for i in po ; do
    printf 'all:\n\ttrue\ninstall:\n\ttrue\nclean:\n\ttrue\n' > "$i"/Makefile
  done

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
7a358d7ddfc6f45fe4def16258899fc131363d3c4095a8b6d5c4c4164b5cb06e4510ab99bf7b0c21c21d95ecc17d879c49062440d8784b5c11ee2bf1b6333154  libwnck-3.18.0.tar.xz
"
