summaryrefslogtreecommitdiff
path: root/development/kdiff3/kdiff3.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2011-09-23 18:43:02 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-23 18:43:02 -0300
commit9f96605167b7c173129e1ecf7a566d183e822c8c (patch)
tree46648e752dd15c5bcbcc2c09396437b1522904c0 /development/kdiff3/kdiff3.SlackBuild
parentf80b38d42a53f272206e2fc285b55fad5524c953 (diff)
downloadslackbuilds-9f96605167b7c173129e1ecf7a566d183e822c8c.tar.gz
development/kdiff3: Updated for version 0.9.96.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/kdiff3/kdiff3.SlackBuild')
-rw-r--r--development/kdiff3/kdiff3.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/development/kdiff3/kdiff3.SlackBuild b/development/kdiff3/kdiff3.SlackBuild
index f53d1f9c67..0574e6c262 100644
--- a/development/kdiff3/kdiff3.SlackBuild
+++ b/development/kdiff3/kdiff3.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for: kdiff3
-# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kdiff3
-VERSION=${VERSION:-0.9.95}
+VERSION=${VERSION:-0.9.96}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,12 +53,12 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $TMP/$PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -68,9 +68,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch docbook.dtd's so this will compile properly
-patch -p1 < $CWD/docbook.patch
-
mkdir build
cd build
cmake \
@@ -96,6 +93,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir $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.${PKGTYPE:-tgz}