desktop/smooth-tasks: Updated for version wip_2010-11-06.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Mykyta Solomko 2011-06-23 21:25:43 -04:00 committed by Niels Horn
parent fbf79a5a54
commit cddbef78e6
2 changed files with 12 additions and 11 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/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. # All rights reserved.
# #
# Permission to use, copy, modify, and distribute this software for any purpose # 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. # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smooth-tasks PRGNAM=smooth-tasks
VERSION=${VERSION:-wip_2010_02_27} VERSION=${VERSION:-wip-2010-11-06}
SRCVERS=${SRCVERS:-wip-2010-02-27}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCVER=${SRCVER:-wip-2010-11-06}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
@ -43,8 +44,8 @@ cd $TMP
rm -rf $PKG $PRGNAM-$VERSION rm -rf $PKG $PRGNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
tar xvf $CWD/*$PRGNAM-src-$SRCVERS.tar.bz2 tar xvf $CWD/*$PRGNAM-src-$SRCVER.tar.bz2
mv $PRGNAM-src-$SRCVERS $PRGNAM-$VERSION mv $PRGNAM-src-$SRCVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find . \ find . \
@ -56,7 +57,7 @@ find . \
mkdir build mkdir build
cd 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 || exit 1
make install DESTDIR=$PKG || exit 1 make install DESTDIR=$PKG || exit 1

View file

@ -1,10 +1,10 @@
PRGNAM="smooth-tasks" PRGNAM="smooth-tasks"
VERSION="wip_2010_02_27" VERSION="wip_2010-11-06"
HOMEPAGE="http://kde-look.org/content/show.php/Smooth+Tasks?content=101586" HOMEPAGE="http://kde-look.org/content/show.php/Smooth+Tasks?content=101586"
DOWNLOAD="http://kde-look.org/CONTENT/content-files/101586-smooth-tasks-src-wip-2010-02-27.tar.bz2" DOWNLOAD="http://kde-look.org/CONTENT/content-files/101586-smooth-tasks-src-wip-2010-11-06.tar.bz2"
MD5SUM="e5d450e3e53ad139dd4026c8c2a794e8" MD5SUM="16529649834e8a3e3a82f3bb2221b7f0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Mykyta Solomko" MAINTAINER="Mykyta Solomko"
EMAIL="solomko.mykyta@gmail.com" EMAIL="kesha (at) mithril.org.ua"
APPROVED="dsomero" APPROVED="dsomero"