system/krusader: Updated for version 2.0.0

This commit is contained in:
Robby Workman 2010-05-13 00:40:48 +02:00 committed by Erik Hanson
parent 2a07dfb072
commit e87afa1f51
5 changed files with 35 additions and 34 deletions

View file

@ -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.

View file

@ -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

View file

@ -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}

View file

@ -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"

View file

@ -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: