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

pkgname=xfce4-time-out-plugin
pkgver=1.0.2
pkgrel=1gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-time-out-plugin/1.0/xfce4-time-out-plugin-1.0.2.tar.bz2")
docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "TODO")
url="http://goodies.xfce.org"
 
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-time-out-plugin (time-out plugin for the Xfce panel)"
"This plugin makes it possible to take periodical breaks from the"
"computer every X minutes. During breaks it locks your screen. It"
"optionally allows you to postpone breaks for a certain time."
)

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