summaryrefslogtreecommitdiff
path: root/development/kdesvn/kdesvn.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-06-12 05:02:18 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:27 -0500
commitfab228aa492de95000f2fa7d85bf0c8560fc8757 (patch)
tree616938f8c6c4f295a90eb4a8b52f56c2415591f3 /development/kdesvn/kdesvn.SlackBuild
parent64c8bd30941c2f173a4df25838ac5e796feb8f74 (diff)
downloadslackbuilds-fab228aa492de95000f2fa7d85bf0c8560fc8757.tar.gz
development/kdesvn: Updated for version 1.5.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/kdesvn/kdesvn.SlackBuild')
-rw-r--r--development/kdesvn/kdesvn.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
index 0bbb812071..e5f1842c1c 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 \