summaryrefslogtreecommitdiff
path: root/system/ncdu
diff options
context:
space:
mode:
Diffstat (limited to 'system/ncdu')
-rw-r--r--system/ncdu/ncdu.SlackBuild9
-rw-r--r--system/ncdu/ncdu.info8
-rw-r--r--system/ncdu/slack-desc12
3 files changed, 19 insertions, 10 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
diff --git a/system/ncdu/ncdu.info b/system/ncdu/ncdu.info
index 6548e3efeb..8d6986b6cc 100644
--- a/system/ncdu/ncdu.info
+++ b/system/ncdu/ncdu.info
@@ -1,8 +1,8 @@
PRGNAM="ncdu"
-VERSION="0.2"
+VERSION="1.3"
HOMEPAGE="http://dev.yorhel.nl/ncdu/"
-DOWNLOAD="http://dev.yorhel.nl/download/ncdu-0.2.tar.gz"
-MD5SUM="31b5a10b6c9dff8d1924556e1a4b84d7"
+DOWNLOAD="http://dev.yorhel.nl/download/ncdu-1.3.tar.gz"
+MD5SUM="204bacb8376819059bec6c8287a87a67"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="BP{k}"
+APPROVED="rworkman"
diff --git a/system/ncdu/slack-desc b/system/ncdu/slack-desc
index 9390f0c76f..03245c9e79 100644
--- a/system/ncdu/slack-desc
+++ b/system/ncdu/slack-desc
@@ -1,4 +1,12 @@
-ncdu: ncdu - NCurses Disk Usage
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+ncdu: ncdu (NCurses Disk Usage)
ncdu:
ncdu: As the name already suggests, ncdu is an NCurses version of the famous
ncdu: old 'du' unix command. It provides a fast and easy interface to your
@@ -6,6 +14,6 @@ ncdu: harddrive. Where is your disk space going? Why is your home directory
ncdu: that large? ncdu can answer those questions for you in just a matter
ncdu: of seconds!
ncdu:
-ncdu:
ncdu: http://dev.yorhel.nl/ncdu/
ncdu:
+ncdu: