#Packager: Panagiotis Papasotiriou
pkgname=worker pkgver=5.1.0 pkgrel=1pp source=( "http://www.boomerangsworld.de/cms/worker/downloads/$pkgname-$pkgver.tar.bz2" "worker-icons.tgz" "worker.desktop" ) sourcetemplate=https://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 for size in "16" "24" "32" "48" "64"; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/${size}x${size}/apps 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 }