summaryrefslogtreecommitdiff
path: root/system/krusader
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:40:48 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:40:48 +0200
commite87afa1f51811b17e1d4455f0782d5fd9e867d51 (patch)
treec59f17f08f3371a87d25310a436a31d714fe8863 /system/krusader
parent2a07dfb072911b2193ff8788978e879db253c3fe (diff)
downloadslackbuilds-e87afa1f51811b17e1d4455f0782d5fd9e867d51.tar.gz
system/krusader: Updated for version 2.0.0
Diffstat (limited to 'system/krusader')
-rw-r--r--system/krusader/README3
-rw-r--r--system/krusader/doinst.sh9
-rw-r--r--system/krusader/krusader.SlackBuild39
-rw-r--r--system/krusader/krusader.info8
-rw-r--r--system/krusader/slack-desc10
5 files changed, 35 insertions, 34 deletions
diff --git a/system/krusader/README b/system/krusader/README
index 759995d3fd..87535fce14 100644
--- a/system/krusader/README
+++ b/system/krusader/README
@@ -1,4 +1,3 @@
krusader is an advanced twin panel (commander style) file manager for
KDE and other desktops in the *nix world, similar to Midnight or Total
-Commander. It provides all the file management features you could
-possibly want.
+Commander.
diff --git a/system/krusader/doinst.sh b/system/krusader/doinst.sh
index 220e1b6593..1f8ff67ded 100644
--- a/system/krusader/doinst.sh
+++ b/system/krusader/doinst.sh
@@ -1,5 +1,10 @@
-
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q ./usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi
diff --git a/system/krusader/krusader.SlackBuild b/system/krusader/krusader.SlackBuild
index d46cf2439d..7995325b50 100644
--- a/system/krusader/krusader.SlackBuild
+++ b/system/krusader/krusader.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for krusader
-# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=krusader
-VERSION=1.90.0
+VERSION=2.0.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,15 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
-fi
-
-# Avoid a version number in .la files:
-if [ -d /usr/lib/qt ]; then
- QTDIR=/usr/lib/qt
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -57,32 +55,29 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-CFLAGS=$SLKCFLAGS \
-CXXFLAGS=$SLKCFLAGS \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc/kde \
- --program-prefix="" \
- --program-suffix="" \
- --build=$ARCH-slackware-linux
-
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DSYSCONF_INSTALL_DIR=/etc/kde \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ .
make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING CVSNEWS ChangeLog FAQ INSTALL README TODO krusader.lsm \
- doc/actions_tutorial.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING FAQ README TODO krusader.lsm doc/actions_tutorial.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
-gzip -9 $PKG/usr/man/man?/*
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/krusader/krusader.info b/system/krusader/krusader.info
index 0e25017b45..6e29393234 100644
--- a/system/krusader/krusader.info
+++ b/system/krusader/krusader.info
@@ -1,8 +1,10 @@
PRGNAM="krusader"
-VERSION="1.90.0"
+VERSION="2.0.0"
HOMEPAGE="http://krusader.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/krusader/krusader-1.90.0.tar.gz"
-MD5SUM="0bcf8f4d03484dae0390ffafa953ac40"
+DOWNLOAD="http://downloads.sourceforge.net/krusader/krusader-2.0.0.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="f80f500a136d549739ad5d4bcab7fa5f"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Erik Hanson"
diff --git a/system/krusader/slack-desc b/system/krusader/slack-desc
index bea97a5b9a..c94ec58e99 100644
--- a/system/krusader/slack-desc
+++ b/system/krusader/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler----------------------------------------------------|
krusader: krusader (Krusader File Manager)
-krusader:
+krusader:
krusader: krusader is an advanced twin panel (commander style) file manager
krusader: for KDE and other desktops in the *nix world, similar to Midnight
krusader: or Total Commander. It provides all the file management features
krusader: you could possibly want.
-krusader:
+krusader:
krusader: Homepage: http://krusader.sourceforge.net/
-krusader:
-krusader:
-krusader:
+krusader:
+krusader:
+krusader: