diff options
-rw-r--r-- | system/krusader/README | 16 | ||||
-rw-r--r-- | system/krusader/doinst.sh | 1 | ||||
-rw-r--r-- | system/krusader/krusader.SlackBuild | 52 | ||||
-rw-r--r-- | system/krusader/krusader.info | 12 | ||||
-rw-r--r-- | system/krusader/slack-desc | 2 |
5 files changed, 45 insertions, 38 deletions
diff --git a/system/krusader/README b/system/krusader/README index 87535fce14..ebf9e2a48f 100644 --- a/system/krusader/README +++ b/system/krusader/README @@ -1,3 +1,13 @@ -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. +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. + +Optional run-time dependencies are (available from SlackBuilds.org): +- krename, +- p7zip, +- dpkg, +- rar, +- unace, +- arj, +- unrar, +- md5deep. diff --git a/system/krusader/doinst.sh b/system/krusader/doinst.sh index 1f8ff67ded..3e5691a052 100644 --- a/system/krusader/doinst.sh +++ b/system/krusader/doinst.sh @@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.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 72f4054a43..9a599030e6 100644 --- a/system/krusader/krusader.SlackBuild +++ b/system/krusader/krusader.SlackBuild @@ -5,6 +5,7 @@ # Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA # Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com> # Copyright 2012 Bill Kirkpatrick <bkirkp@gmail.com> +# Copyright 2016 Andrzej Telszewski, Banie # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -13,27 +14,25 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=krusader -VERSION=${VERSION:-2.4.0_beta3} +VERSION=${VERSION:-git_20150309_13fa966} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCVER="$(printf $VERSION | tr _ -)" - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -58,22 +57,20 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING CREDITS ChangeLog FAQ INSTALL README TODO" - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2 -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build @@ -88,13 +85,14 @@ cd build .. make make install DESTDIR=$PKG -cd - +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING CREDITS ChangeLog FAQ INSTALL README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/krusader/krusader.info b/system/krusader/krusader.info index 9eaa9cff42..7c6aa9c9f5 100644 --- a/system/krusader/krusader.info +++ b/system/krusader/krusader.info @@ -1,10 +1,10 @@ PRGNAM="krusader" -VERSION="2.4.0_beta3" -HOMEPAGE="http://krusader.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/krusader/krusader-2.4.0-beta3.tar.bz2" -MD5SUM="62a02db3f213bb76805ca6c958e9e263" +VERSION="git_20150309_13fa966" +HOMEPAGE="https://krusader.org/" +DOWNLOAD="http://mirror.telszewski.net/source/krusader/krusader-git_20150309_13fa966.tar.xz" +MD5SUM="f83558662166a1537aedaaa6b1e22c4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Bill Kirkpatrick" -EMAIL="bkirkp@gmail.com" +MAINTAINER="Andrzej Telszewski" +EMAIL="atelszewski@gmail.com" diff --git a/system/krusader/slack-desc b/system/krusader/slack-desc index f02db31bdd..4b39778c09 100644 --- a/system/krusader/slack-desc +++ b/system/krusader/slack-desc @@ -13,7 +13,7 @@ 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: Homepage: http://krusader.sourceforge.net +krusader: Homepage: https://krusader.org/ krusader: krusader: krusader: |