# vim: syn=sh: #Maintainer: JRD pkgname=kdocker pkgver=4.2.2.1 pkgrel=2cp arch=x86_64 source=(http://launchpad.net/$pkgname/trunk/$(echo $pkgver|cut -d. -f1-3)/+download/$pkgname-$pkgver.tar.gz) sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-$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, Fluxbox and many more." ) build() { cd $startdir/src/$pkgname-$pkgver sed -i -e 's:/usr/local/:/usr/:' kdocker.pro export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt export PATH=$QTDIR/bin:$PATH qmake QMAKE_CXXFLAGS="$CXXFLAGS" || return 1 make || return 1 make install INSTALL_ROOT=$startdir/pkg || return 1 mkdir -p $startdir/pkg/usr/share/icons/hicolor/128x128/apps/ cp $startdir/pkg/usr/share/kdocker/icons/kdocker.png $startdir/pkg/usr/share/icons/hicolor/128x128/apps/ }