# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0:
#Packager: JRD <jrd@enialis.net>

pkgname=kdocker
pkgver=4.8
pkgrel=1cp
source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=https://launchpad.net/kdocker
options=(noautodotnew)

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (Minimize to system tray helper)"
"KDocker will help you dock any application into the system tray."
"This means you can dock openoffice, xmms, firefox, thunderbird,"
"anything! Just point and click."
"Works for all NET WM compliant window managers - that includes KDE,"
"GNOME, Xfce, LXDE, Fluxbox and many more."
)


build() {
  cd $SRC/$pkgname-$pkgver || return 1
  QTDIR=/usr/lib/qt
  PATH=$QTDIR/bin:$PATH
  qmake || return 1
  make -j $numjobs || return 1
  make install INSTALL_ROOT=$PKG || return 1
}