APP=libwnck2
VERSION=2.29.6
BUILD=1sml
HOMEPAGE="https://www.gnome.org/"
DOWNLOAD="https://download-fallback.gnome.org/sources/libwnck/2.29/libwnck-2.29.6.tar.bz2"
DESC="Window Navigator Construction Kit"
REQUIRES="intltool libxt startup-notification gobject-introspection gtk2 "

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

  tar xf $SRCDIR/libwnck-$VERSION.tar.?z*
  cd libwnck-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static \
    $BUILDDIST

  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="
b6054fd07e949345d4c06591e1a41d3e426f7ed9e95180e320b1f4dd513a93cd2d07951f8f16eb6d3b62a8d7e8f7604e8ab837a5456165d3f9ac1eb41a5896c0  libwnck-2.29.6.tar.bz2
"
