#Packager: Dimitris Tzemos pkgname=spacefm pkgver=0.8.2 pkgrel=4dj source=("http://downloads.sourceforge.net/spacefm/spacefm-$pkgver.tar.xz" "no_root.patch") docs=("AUTHORS" "COPYING*" "ChangeLog" "NEWS" "README" "TRANSLATE") url='http://ignorantguru.github.com/spacefm/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "spacefm (Multi-panel tabbed file manager)" "SpaceFM is a multi-panel tabbed file manager for Linux" "with built-in VFS, udev-based device manager," "customizable menu system, and bash integration." "" "Homepage: http://ignorantguru.github.com/spacefm/" ) build() { cd $SRC/$pkgname-$pkgver patch -p1 < $SRC/no_root.patch || return 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --localedir=/usr/share/locale \ --disable-pixmaps \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 } doinst() { # update the mime desktop database if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q fi # update the mime database if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi }