diff options
Diffstat (limited to 'desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild')
-rw-r--r-- | desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild b/desktop/QtCurve-Gtk2/QtCurve-Gtk2.SlackBuild index 8397fffc39..e4279fc669 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 |