#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=gnome-commander pkgver=1.2.8.15 pkgrel=3gv source=("http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-1.2.8.15.tar.xz" "remove-mimetypes-menu.patch" "gcc47.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "bugs") url=http://www.nongnu.org/gcmd/ doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "GNOME Commander (a two-pane graphical filemanager for GNOME)" "GNOME Commander is a two-pane graphical filemanager for the Gnome" "desktop environment. GNOME Commander aims to fulfill the demands of" "more advanced users who like to focus on file management, their" "work through special applications and running smart commands." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/remove-mimetypes-menu.patch || exit 1 patch -p1 < $startdir/src/gcc47.patch || exit 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --with-taglib \ --with-libchm \ --with-libgsf \ --without-poppler \ --enable-python \ --disable-scrollkeeper \ --disable-static \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps ( cd $startdir/pkg/usr/share/icons/hicolor/48x48/apps; ln -s ../../../../pixmaps/gnome-commander.png gnome-commander.png ) }