#Maintainer: Richard Lapointe <richard~at~laprjns~dot~com>
#Former Maintainer(s): Name <email@address.com>
#Anything commented out is optional and can be deleted.

pkgname=xfce4-mount-plugin
pkgver=0.5.5
pkgrel=1rl
arch=i486
source=(http://goodies.xfce.org/releases/$pkgname/$pkgname-${pkgver}.tar.bz2)
sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin
#CFLAGS=
#CXXFLAGS=
#options=('noextract')
#options=('noautodotnew')
#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-mount-plugin is a mount/umount utility for the panel. "
"Add it to the panel, close the appearing options dialog and simply"
"click the new hard disk icon in your panel. You will see a menu"
"containing all items from fstab, i.e. any partitions and removable"
"media, that is currently inserted."
""
)


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