summaryrefslogtreecommitdiff
path: root/office/oooqs2/oooqs2.SlackBuild
diff options
context:
space:
mode:
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