#!/bin/sh # Set initial variables: CWD=`pwd` if [ "$TMP" = "" ]; then TMP=/tmp fi export VERSION=2.12 if [ ! -d $TMP ]; then mkdir -p $TMP # location to build the source fi cd $TMP rm -rf slacktrack-project tar xvf $CWD/slacktrack-$VERSION-source.tar.xz cd slacktrack-project || exit 1 # Start the "real" SlackBuild: ./slacktrack.SlackBuild