summaryrefslogtreecommitdiff
path: root/extra/source/slacktrack/slacktrack.SlackBuild
blob: abefb3be24f050a5ac2f0f85a0606f59af7185be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Set initial variables:
CWD=`pwd`
if [ "$TMP" = "" ]; then
  TMP=/tmp
fi

export VERSION=2.06
export ARCH=${ARCH:-x86_64}
export PKGEXT=${PKGEXT:-txz}

if [ ! -d $TMP ]; then
  mkdir -p $TMP # location to build the source
fi
cd $TMP
rm -rf slacktrack
tar xvf $CWD/slacktrack-$VERSION-source.tar.gz
cd slacktrack

# Start the "real" SlackBuild:
./slacktrack.SlackBuild