aboutsummaryrefslogtreecommitdiff
path: root/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2010-09-18 23:40:55 -0400
committerRobby Workman <rworkman@slackbuilds.org>2010-09-21 22:09:40 -0500
commit656a9f6dfe64b7a97af630ae2c1b7675dc146da6 (patch)
tree4058742c81f1ec07bbd3f1ed535d71529b8afc11 /desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
parente1ebc97c6c09e31b11ee774293054cb2bb7b3f45 (diff)
desktop/QtCurve-Gtk2: Updated for version 1.6.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild')
-rw-r--r--desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
index 8397fffc39a0a..e4279fc669c2b 100644
--- a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
+++ b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild
@@ -4,7 +4,7 @@
# Written by bughunter2 (bughunter2@googlemail.com)
# Copyright 2008-2009 Michiel van Wessem, Manchester, United Kingdom
-# Copyright 2009 Gregory J. L. Tourte, UK (artourter@gmail.com)
+# Copyright 2009 Gregory J. L. Tourte, UK (artourter@gmail.com)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -27,14 +27,16 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QtCurve-Gtk2
-VERSION=${VERSION:-1.5.2}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -100,3 +102,11 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+
+# Clean up the extra stuff:
+if [ "$1" = "--cleanup" ]; then
+ rm -rf $TMP/$PRGNAM-$BASEVERS
+ rm -rf $PKG
+fi
+
+# vim: et ts=2 sw=2