# vim: syn=sh ft=sh et sw=2 sts=2 ts=2 tw=0: #Packager: Cyrille Pontvieux pkgname=kdocker pkgver=4.8 pkgrel=2cp source=(https://launchpad.net/kdocker/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 qmake || return 1 # patch Makefile to use DESTDIR instead of INSTALL_ROOT sed -i 's/INSTALL_ROOT/DESTDIR/g' Makefile || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 }