diff options
Diffstat (limited to 'desktop/smooth-tasks/smooth-tasks.SlackBuild')
-rw-r--r-- | desktop/smooth-tasks/smooth-tasks.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/desktop/smooth-tasks/smooth-tasks.SlackBuild b/desktop/smooth-tasks/smooth-tasks.SlackBuild index 36b2fb81e1..4686ae2d72 100644 --- a/desktop/smooth-tasks/smooth-tasks.SlackBuild +++ b/desktop/smooth-tasks/smooth-tasks.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for smooth-tasks KDE 4.3.x+ applet +# Slackware build script for smooth-tasks KDE 4.x applet. -# Copyright 2010 Mykyta Solomko <solomko.mykyta@gmail.com> +# Copyright 2011 Mykyta Solomko <kesha (at) mithril.org.ua> # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -21,11 +21,12 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=smooth-tasks -VERSION=${VERSION:-wip_2010_02_27} -SRCVERS=${SRCVERS:-wip-2010-02-27} +VERSION=${VERSION:-wip-2010-11-06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=${SRCVER:-wip-2010-11-06} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -43,8 +44,8 @@ cd $TMP rm -rf $PKG $PRGNAM-$VERSION mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/*$PRGNAM-src-$SRCVERS.tar.bz2 -mv $PRGNAM-src-$SRCVERS $PRGNAM-$VERSION +tar xvf $CWD/*$PRGNAM-src-$SRCVER.tar.bz2 +mv $PRGNAM-src-$SRCVER $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -56,7 +57,7 @@ find . \ mkdir build cd build -cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || exit 1 +cmake .. -DCMAKE_INSTALL_PREFIX="$(kde4-config --prefix)" || exit 1 make || exit 1 make install DESTDIR=$PKG || exit 1 |