app=xfce4-whiskermenu-plugin
version=2.7.1
build=1sml
homepage="https://gottcode.org/xfce4-whiskermenu-plugin/"
download="https://gottcode.org/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.7.1-src.tar.bz2"
desc="Alternate application launcher for Xfce"
requires="gtk3 garcon xfce4-panel"

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

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

  mkdir -p smbuild && cd smbuild
  cmake .. \
    -DCMAKE_INSTALL_PREFIX="" \
    -DCMAKE_INSTALL_LIBDIR=lib

  make
  make install DESTDIR=$pkg 

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
40a1124ad8bcb51a21cab20cde8079fdce31d57ade3da787235554391e5eb9ec747c646f46f84f9ecadacf124446bf80a7aec8138415b68ed064e02371aa7c0a  xfce4-whiskermenu-plugin-2.7.1-src.tar.bz2
"
