diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 19:46:31 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:46:31 +0200 |
commit | 8208b29f8d687bde90da7ebd1501e2c60c27e391 (patch) | |
tree | 6458176d3c13edbe99975ce1051a1d0180728ea0 /system/krusader/krusader.SlackBuild | |
parent | cdbf629d170bcb7b0033e019655869332b151cf8 (diff) |
system/krusader: Updated for version 1.80.0
Diffstat (limited to 'system/krusader/krusader.SlackBuild')
-rw-r--r-- | system/krusader/krusader.SlackBuild | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/system/krusader/krusader.SlackBuild b/system/krusader/krusader.SlackBuild index f18c43bef24da..e4093763a5658 100644 --- a/system/krusader/krusader.SlackBuild +++ b/system/krusader/krusader.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for krusader -# Copyright 2006 Robby Workman (http://rlworkman.net) +# Copyright 2006-2007 Robby Workman (http://rlworkman.net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuilds.org project +# Modified by Michiel van Wessem for version 1.80.0 +# No additional license terms added PRGNAM=krusader -VERSION=1.70.1 +VERSION=1.80.0 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -46,7 +47,7 @@ if [ -d /usr/lib/qt ]; then fi rm -rf $PKG -mkdir -p $TMP $PKG/opt/kde $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 @@ -57,7 +58,7 @@ chmod -R a-s,u+w,go+r-w . CFLAGS=$SLKCFLAGS \ CXXFLAGS=$SLKCFLAGS \ ./configure \ - --prefix=/opt/kde \ + --prefix=/usr \ --program-prefix="" \ --program-suffix="" \ || exit 1 @@ -66,27 +67,25 @@ make || exit 1 make install DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog FAQ INSTALL README TODO krusader.lsm doc/actions_tutorial.txt \ - $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/share/{applications,pixmaps} -mv $PKG/opt/kde/share/applnk/krusader.desktop $PKG/usr/share/applications -cp -a $PKG/opt/kde/share/icons/crystalsvg/48x48/apps/krusader_user.png \ - $PKG/usr/share/pixmaps - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) -if [ -d $PKG/opt/kde/man ]; then - gzip -9 $PKG/opt/kde/man/man?/* +if [ -d $PKG/usr/share/man ]; then + gzip -9 $PKG/usr/share/man/man?/* + mv $PKG/usr/share/man $PKG/usr +elif [ -d $PKG/usr/man ]; then + gzip -9 $PKG/usr/man/man?/* fi +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 |