summaryrefslogtreecommitdiff
path: root/libraries/libmatchbox/libmatchbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmatchbox/libmatchbox.SlackBuild')
-rw-r--r--libraries/libmatchbox/libmatchbox.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/libmatchbox/libmatchbox.SlackBuild b/libraries/libmatchbox/libmatchbox.SlackBuild
index 9b43fd2a73..80042edd59 100644
--- a/libraries/libmatchbox/libmatchbox.SlackBuild
+++ b/libraries/libmatchbox/libmatchbox.SlackBuild
@@ -22,15 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Exit on most errors
-set -e
-
PRGNAM=libmatchbox
VERSION=1.9
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,11 +39,13 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e # Exit on most errors
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .