aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:24:51 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:24:51 +0200
commit727065834b9f9a0130f3e524b4084fb147df6a9e (patch)
tree048a393b05ca7b3d207b03880d225e9494d7d3c7
parent5b840e5371b5f2551d377bd009bc49b566bf36e5 (diff)
development/kdesvn: Updated for version 1.4.1
-rw-r--r--development/kdesvn/doinst.sh8
-rw-r--r--development/kdesvn/kdesvn.SlackBuild20
-rw-r--r--development/kdesvn/kdesvn.info11
3 files changed, 19 insertions, 20 deletions
diff --git a/development/kdesvn/doinst.sh b/development/kdesvn/doinst.sh
index fdfd4cef9c0a..abca0bed02da 100644
--- a/development/kdesvn/doinst.sh
+++ b/development/kdesvn/doinst.sh
@@ -1,10 +1,4 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
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
-
+
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
index f7bc8e7cb123..bf90398e17ab 100644
--- a/development/kdesvn/kdesvn.SlackBuild
+++ b/development/kdesvn/kdesvn.SlackBuild
@@ -1,8 +1,7 @@
#!/bin/sh
# Slackware build script for kdesvn
-
-# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kdesvn
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.4.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,11 +33,14 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -62,8 +64,10 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
- ..
+ -DCMAKE_BUILD_TYPE=Release ..
+
make VERBOSE=1
make install VERBOSE=1 DESTDIR=$PKG
cd -
@@ -88,4 +92,4 @@ 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
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/kdesvn/kdesvn.info b/development/kdesvn/kdesvn.info
index acb2359b42e9..f429cd429b62 100644
--- a/development/kdesvn/kdesvn.info
+++ b/development/kdesvn/kdesvn.info
@@ -1,9 +1,10 @@
PRGNAM="kdesvn"
-VERSION="1.0.5"
+VERSION="1.4.1"
HOMEPAGE="http://www.alwins-world.de/wiki/programs/kdesvn"
-DOWNLOAD="http://kdesvn.alwins-world.de/downloads/kdesvn-1.0.5.tar.bz2"
-MD5SUM="6229847362974215be385424c67dde64"
+DOWNLOAD="http://kdesvn.alwins-world.de/downloads/kdesvn-1.4.1.tar.bz2"
+MD5SUM="e5778ff1c19e50392a13096ab6756521"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="dsomero"
-
+APPROVED="Erik Hanson"