diff options
Diffstat (limited to 'development/kdesvn/kdesvn.SlackBuild')
-rw-r--r-- | development/kdesvn/kdesvn.SlackBuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild index 0bbb812071628..e5f1842c1ca35 100644 --- a/development/kdesvn/kdesvn.SlackBuild +++ b/development/kdesvn/kdesvn.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # Slackware build script for kdesvn + # Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # @@ -22,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kdesvn -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-1.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,20 +43,20 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi -set -e +set -e # Exit on most errors rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -89,10 +90,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ # mandir setting above seems ignored mv $PKG/usr/share/man $PKG/usr -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING* ChangeLog GPL.txt INSTALL-cmake TODO \ |