summaryrefslogtreecommitdiff
path: root/desktop/quickaccess/quickaccess.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/quickaccess/quickaccess.SlackBuild')
-rw-r--r--desktop/quickaccess/quickaccess.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/desktop/quickaccess/quickaccess.SlackBuild b/desktop/quickaccess/quickaccess.SlackBuild
index 75c903c1c1..290030fbdd 100644
--- a/desktop/quickaccess/quickaccess.SlackBuild
+++ b/desktop/quickaccess/quickaccess.SlackBuild
@@ -4,10 +4,12 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=quickaccess
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.8.2_2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVERSION="$(echo $VERSION | tr '_' '-')"
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,10 +43,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/plasma-widget-$PRGNAM-$VERSION
+rm -rf $TMP/plasma-widget-$PRGNAM-$SRCVERSION
cd $TMP
-tar xvf $CWD/101968-plasma-widget-${PRGNAM}_${VERSION}.orig.tar.gz
-cd plasma-widget-$PRGNAM-$VERSION
+unzip $CWD/134442-plasma-widget-${PRGNAM}-${SRCVERSION}.zip
+cd plasma-widget-$PRGNAM-$SRCVERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,7 +54,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir build
+mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \