summaryrefslogtreecommitdiff
path: root/office/oooqs2/oooqs2.SlackBuild
diff options
context:
space:
mode:
authoreroc <eroc@linuxmail.org>2010-05-11 19:46:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:16 +0200
commit00f1a427e6b4ca6e7ba53c30711a47246d0db461 (patch)
treef678296e48f0b1baebce4dbed07609ca63f4b082 /office/oooqs2/oooqs2.SlackBuild
parentc59266011766838e102b389968aaedeefeb0f41a (diff)
downloadslackbuilds-00f1a427e6b4ca6e7ba53c30711a47246d0db461.tar.gz
office/oooqs2: Updated for version 1.0.1
Diffstat (limited to 'office/oooqs2/oooqs2.SlackBuild')
-rw-r--r--office/oooqs2/oooqs2.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/office/oooqs2/oooqs2.SlackBuild b/office/oooqs2/oooqs2.SlackBuild
index 2175eccd4a..15667fd591 100644
--- a/office/oooqs2/oooqs2.SlackBuild
+++ b/office/oooqs2/oooqs2.SlackBuild
@@ -10,7 +10,7 @@ VERSION=1.0.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -27,14 +27,14 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R a-s,u+rw,go-w .
+KDEPREF=$(kde-config --prefix)
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/opt/kde \
+ --prefix=$KDEPREF \
|| exit 1
make || exit 1