diff options
author | Binh Nguyen <binhvng@gmail.com> | 2013-06-29 11:30:38 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-06-29 11:30:38 -0300 |
commit | ee6e6bf98660f5f76b264e4868d08cb8043f33eb (patch) | |
tree | bcab9ed9a90e3df69b7906c2fc002dc1d4166db5 /graphics/mirage | |
parent | 6d834989f29443a448d222b5038b4db4ca22fb3b (diff) |
graphics/mirage: Fixes in SlackBuild.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/mirage')
-rw-r--r-- | graphics/mirage/mirage.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/mirage/mirage.SlackBuild b/graphics/mirage/mirage.SlackBuild index f6a5d10d1b575..e73036e060597 100644 --- a/graphics/mirage/mirage.SlackBuild +++ b/graphics/mirage/mirage.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Mirage # Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com> -# Copyright 2010-2011 Binh Nguyen <binhvng@gmail.com> +# Copyright 2010, 2011, 2013 Binh Nguyen <binhvng@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=mirage VERSION=${VERSION:-0.9.5.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -41,6 +41,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 |