summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 20:00:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 20:00:25 +0200
commit8dad5197cd99e8b4b11782fd2e0b1e75d9ad73af (patch)
treebcd8f1079fe681776da98e2a73a3015bec02cf88
parentd48cff418f86603ca3a6bc91db303fc81b79d004 (diff)
downloadslackbuilds-8dad5197cd99e8b4b11782fd2e0b1e75d9ad73af.tar.gz
development/kdesvn: Added to 12.0 repository
-rw-r--r--development/kdesvn/README7
-rw-r--r--development/kdesvn/doinst.sh4
-rw-r--r--development/kdesvn/kdesvn.SlackBuild87
-rw-r--r--development/kdesvn/kdesvn.info8
-rw-r--r--development/kdesvn/slack-desc19
5 files changed, 125 insertions, 0 deletions
diff --git a/development/kdesvn/README b/development/kdesvn/README
new file mode 100644
index 0000000000..88fb592aed
--- /dev/null
+++ b/development/kdesvn/README
@@ -0,0 +1,7 @@
+kdesvn is client for subversion. It uses native KDE API instead of a
+extra lib like GAMBAS and it is using the native subversion
+delevelopment API instead of just parsing the output of the
+commandline tool like most other clients do.
+
+It tries to setup a look and feel like the standard filemanager of
+KDE and is integrated into it via KPart.
diff --git a/development/kdesvn/doinst.sh b/development/kdesvn/doinst.sh
new file mode 100644
index 0000000000..55d469fb0d
--- /dev/null
+++ b/development/kdesvn/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database -q usr/share/applications
+fi
+ \ No newline at end of file
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
new file mode 100644
index 0000000000..ace37b13d3
--- /dev/null
+++ b/development/kdesvn/kdesvn.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/sh
+
+# Slackware build script for kdesvn
+
+# Copyright 2007 Michiel van Wessem (http://michielvwessem.wordpress.com)
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 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.
+
+PRGNAM=kdesvn
+VERSION=0.14.2
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+DOCFILES="AUTHORS COPYING* ChangeLog GPL.txt INSTALL-cmake NEWS README TODO*"
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr .
+
+make VERBOSE=1
+make install VERBOSE=1 DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+( cd $PKG/usr/
+ mv share/man .
+ mv share/doc .
+)
+
+( 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
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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
diff --git a/development/kdesvn/kdesvn.info b/development/kdesvn/kdesvn.info
new file mode 100644
index 0000000000..94a25ab0a7
--- /dev/null
+++ b/development/kdesvn/kdesvn.info
@@ -0,0 +1,8 @@
+PRGNAM="kdesvn"
+VERSION="0.14.2"
+HOMEPAGE="http://www.alwins-world.de/wiki/programs/kdesvn"
+DOWNLOAD="http://kdesvn.alwins-world.de/trac.fcgi/downloads/kdesvn-0.14.2.tar.bz2"
+MD5SUM="da4a71add6c14d24ebec56dd64bf6b7c"
+MAINTAINER="Michiel van Wessem"
+EMAIL="michiel@slackbuilds.org"
+APPROVED="David Somero"
diff --git a/development/kdesvn/slack-desc b/development/kdesvn/slack-desc
new file mode 100644
index 0000000000..65742e842d
--- /dev/null
+++ b/development/kdesvn/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+kdesvn: kdesvn (a subversion/cervisa client for KDE)
+kdesvn:
+kdesvn: kdesvn is client for subversion. It uses native KDE API instead
+kdesvn: of an extra lib like GAMBAS and it is using the native subversion
+kdesvn: delevelopment API instead of just parsing the output of the
+kdesvn: commandline tool like most other clients do.
+kdesvn:
+kdesvn: It tries to setup a look and feel like the standard filemanager
+kdesvn: of KDE and is integrated into it via KPart.a
+kdesvn:
+kdesvn: