graphics/mirage: Fixes in SlackBuild.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Binh Nguyen 2013-06-29 11:30:38 -03:00 committed by Niels Horn
parent 6d834989f2
commit ee6e6bf986

View file

@ -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