#Packager: Panagiotis Papasotiriou
pkgname=worker pkgver=3.8.3 pkgrel=1pp source=( "http://www.boomerangsworld.de/cms/worker/downloads/$pkgname-$pkgver.tar.bz2" "worker-16.png" "worker-24.png" "worker-32.png" "worker-48.png" "worker-64.png" "worker.desktop" ) sourcetemplate=http://people.salixos.org/papasot/salix/$pkgname url="http://www.boomerangsworld.de/cms/worker/index.html" docs=("COPYING" "README" "ChangeLog") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "worker (file manager for X-Window)" "Worker is a file manager for X-Windows on UNIX-like systems. The" "directories and files are shown in two independent panels (similar to" "Midnight Commander). Worker is very similar to 'directory opus' on" "Amiga." "" "HomePage: http://www.boomerangsworld.de/cms/worker/index.html" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --build=$arch-slackware-linux --prefix=/usr --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man make -j $numjobs || exit 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/{16x16,24x24,32x32,48x48,64x64}/apps for size in "16" "24" "32" "48" "64"; do cp $startdir/src/worker-$size.png $startdir/pkg/usr/share/icons/hicolor/${size}x${size}/apps/worker.png done cp -f $startdir/src/worker.desktop $startdir/pkg/usr/share/applications/worker.desktop }