mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/krusader: Updated for version 2.0.0
This commit is contained in:
parent
2a07dfb072
commit
e87afa1f51
5 changed files with 35 additions and 34 deletions
|
@ -1,4 +1,3 @@
|
||||||
krusader is an advanced twin panel (commander style) file manager for
|
krusader is an advanced twin panel (commander style) file manager for
|
||||||
KDE and other desktops in the *nix world, similar to Midnight or Total
|
KDE and other desktops in the *nix world, similar to Midnight or Total
|
||||||
Commander. It provides all the file management features you could
|
Commander.
|
||||||
possibly want.
|
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
|
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
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
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for krusader
|
# Slackware build script for krusader
|
||||||
|
|
||||||
# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
|
# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=krusader
|
PRGNAM=krusader
|
||||||
VERSION=1.90.0
|
VERSION=2.0.0
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -35,15 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
fi
|
LIBDIRSUFFIX="64"
|
||||||
|
|
||||||
# Avoid a version number in .la files:
|
|
||||||
if [ -d /usr/lib/qt ]; then
|
|
||||||
QTDIR=/usr/lib/qt
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -57,32 +55,29 @@ cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R a-s,u+w,go+r-w .
|
chmod -R a-s,u+w,go+r-w .
|
||||||
|
|
||||||
CFLAGS=$SLKCFLAGS \
|
cmake \
|
||||||
CXXFLAGS=$SLKCFLAGS \
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||||
./configure \
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||||
--prefix=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
--sysconfdir=/etc/kde \
|
-DMAN_INSTALL_DIR=/usr/man \
|
||||||
--program-prefix="" \
|
-DSYSCONF_INSTALL_DIR=/etc/kde \
|
||||||
--program-suffix="" \
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
||||||
--build=$ARCH-slackware-linux
|
.
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING CVSNEWS ChangeLog FAQ INSTALL README TODO krusader.lsm \
|
cp -a \
|
||||||
doc/actions_tutorial.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| 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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="krusader"
|
PRGNAM="krusader"
|
||||||
VERSION="1.90.0"
|
VERSION="2.0.0"
|
||||||
HOMEPAGE="http://krusader.sourceforge.net/"
|
HOMEPAGE="http://krusader.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/krusader/krusader-1.90.0.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/krusader/krusader-2.0.0.tar.gz"
|
||||||
MD5SUM="0bcf8f4d03484dae0390ffafa953ac40"
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM="f80f500a136d549739ad5d4bcab7fa5f"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Robby Workman"
|
MAINTAINER="Robby Workman"
|
||||||
EMAIL="rw@rlworkman.net"
|
EMAIL="rw@rlworkman.net"
|
||||||
APPROVED="Erik Hanson"
|
APPROVED="Erik Hanson"
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler----------------------------------------------------|
|
|-----handy-ruler----------------------------------------------------|
|
||||||
krusader: krusader (Krusader File Manager)
|
krusader: krusader (Krusader File Manager)
|
||||||
krusader:
|
krusader:
|
||||||
krusader: krusader is an advanced twin panel (commander style) file manager
|
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: for KDE and other desktops in the *nix world, similar to Midnight
|
||||||
krusader: or Total Commander. It provides all the file management features
|
krusader: or Total Commander. It provides all the file management features
|
||||||
krusader: you could possibly want.
|
krusader: you could possibly want.
|
||||||
krusader:
|
krusader:
|
||||||
krusader: Homepage: http://krusader.sourceforge.net/
|
krusader: Homepage: http://krusader.sourceforge.net/
|
||||||
krusader:
|
krusader:
|
||||||
krusader:
|
krusader:
|
||||||
krusader:
|
krusader:
|
||||||
|
|
Loading…
Reference in a new issue