aboutsummaryrefslogtreecommitdiff
path: root/desktop/quickaccess/quickaccess.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2012-09-10 10:12:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:35:35 -0500
commit9a00e9a66c012dd41d186480d46761ada6b48a8d (patch)
tree06fa8682a783ac525dd212bd580221c9e802132d /desktop/quickaccess/quickaccess.SlackBuild
parent492c26b18cc71c719ef0d58a5944493c1229d326 (diff)
desktop/quickaccess: Updated for version 0.8.2_2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 75c903c1c1ad..290030fbddb1 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" \