#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xfce4-places-plugin
pkgver=1.8.3
_mainver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-places-plugin/${_mainver}/xfce4-places-plugin-${pkgver}.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-places-plugin (a places panel plugin for xfce4)"
"This plugin is a menu with quick access to folders, documents, and"
"removable media. The places plugin brings much of the functionality"
"of GNOME’s Places menu to Xfce."
)


build() {
	cd $startdir/src/$pkgname-$pkgver

	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--disable-debug \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}