pkgname=xfce4-quicklauncher-plugin
pkgver=1.9.4
pkgrel=3
pkgdesc="plugin that creates 4 little application launcher in the Xfce4 panel"
arch=(i686 x86_64)
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
depends=('xfce4-panel')
makedepends=('pkgconfig')
options=(!libtool)
source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('299e17f196ecfa5fb018cf65abb19b56')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
    --localstatedir=/var --disable-static
  make || return 1
  make DESTDIR=${startdir}/pkg install

  #Fix for launching under xfce 4.6
  patch -p1 ${pkgdir}/usr/share/xfce4/panel-plugins/quicklauncher.desktop -i fix-for-xfce-4.6.patch
}
