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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-notes-plugin (a sticky notes panel plugin for xfce)"
"The notes plugin provides you a quick way to paste text, to write"
"down a list of things, to leave a note to your friend, or whatever you"
"had do with Post-It’s."
)


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