# Maintainer: Natanael Copa pkgname=xfce4-whiskermenu-plugin pkgver=1.6.0 pkgrel=0 pkgdesc="alternate application launcher for Xfce" url="http://gottcode.org/xfce4-whiskermenu-plugin/" arch="all" license="GPL2" depends="" depends_dev="" makedepends="$depends_dev cmake libxfce4ui-dev libxfce4util-dev exo-dev garcon-dev xfce4-panel-dev" install="" subpackages="$pkgname-doc $pkgname-lang" source="http://mirror.netcologne.de/xfce/src/panel-plugins/xfce4-whiskermenu-plugin/${pkgver%.*}/xfce4-whiskermenu-plugin-$pkgver.tar.bz2" _builddir="$srcdir"/xfce4-whiskermenu-plugin-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ . || return 1 make || return 1 } package() { cd "$_builddir" make install LIBDIR=lib DESTDIR="$pkgdir" || return 1 } md5sums="a5d7795db3594a8c4f70ab6eceac489a xfce4-whiskermenu-plugin-1.6.0.tar.bz2" sha256sums="7318c5e00a92671b426f546f0f7d9dba618b8ad447f9f266dc079560c8d602b2 xfce4-whiskermenu-plugin-1.6.0.tar.bz2" sha512sums="14d4daa8be8a3d90da2031994480a71632ec1199ebd77c867ca73d32f4ff531cd64acf5677cae41a8402535c8d7d6e5c32cb36b2c4f36d887a7f0ff6e6f1f531 xfce4-whiskermenu-plugin-1.6.0.tar.bz2"