summaryrefslogtreecommitdiff
path: root/system/htop/htop.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:46:29 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:29 +0200
commit0bcd9d42b443d8b97582df3c16edd75feab32c23 (patch)
treea5a9a1e8715ff58e8f3dd31263fabae13a5c48b9 /system/htop/htop.SlackBuild
parent4ee3c549ecf2f2a3563a511e4ba750785feefd80 (diff)
downloadslackbuilds-0bcd9d42b443d8b97582df3c16edd75feab32c23.tar.gz
system/htop: Updated for version 0.7
Diffstat (limited to 'system/htop/htop.SlackBuild')
-rw-r--r--system/htop/htop.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/system/htop/htop.SlackBuild b/system/htop/htop.SlackBuild
index ea275db113..308d3f8483 100644
--- a/system/htop/htop.SlackBuild
+++ b/system/htop/htop.SlackBuild
@@ -5,13 +5,12 @@
# Modified by the SlackBuilds.org project
-set -e
-
PRGNAM=htop
-VERSION=0.6.6
+VERSION=0.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -25,11 +24,13 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -55,10 +56,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Rewrite the desktop file so the icon will properly display in kde
-sed -i 's#Icon=htop.png#Icon=/usr/share/pixmaps/htop.png#' \
- $PKG/usr/share/applications/$PRGNAM.desktop
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh