summaryrefslogtreecommitdiff
path: root/system/ncdu/ncdu.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:46:33 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:33 +0200
commita62178c9b4045714b238e50a58b810930917fedf (patch)
tree4e566b774cf3d689f81d15f02209f5f2790513ed /system/ncdu/ncdu.SlackBuild
parent5de03ae9e788e7201904625c235084c51d7aef72 (diff)
downloadslackbuilds-a62178c9b4045714b238e50a58b810930917fedf.tar.gz
system/ncdu: Updated for version 1.3
Diffstat (limited to 'system/ncdu/ncdu.SlackBuild')
-rw-r--r--system/ncdu/ncdu.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/ncdu/ncdu.SlackBuild b/system/ncdu/ncdu.SlackBuild
index 296583edd5..a0e4482c5a 100644
--- a/system/ncdu/ncdu.SlackBuild
+++ b/system/ncdu/ncdu.SlackBuild
@@ -2,13 +2,14 @@
# Slackware build script for ncdu
# Written by Erik Hanson erik@slackbuilds.org
+# Updated for version 1.3 by Michiel van Wessem <michiel@slackbuilds.org>
PRGNAM=ncdu
-VERSION=0.2
+VERSION=1.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -20,8 +21,8 @@ elif [ "$ARCH" = "i686" ]; then
fi
rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION