aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-06 08:52:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:43 +0700
commit9518ce5b51271d584cca76f4cd98461b1d386c66 (patch)
tree70b51c1975b9b901fb4d0031fbbd2358f5c1a73c
parent9020088824b051ca46106790a2e3c022b9345de2 (diff)
system/ttop: Updated for version 0.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/ttop/doinst.sh3
-rw-r--r--system/ttop/ttop.SlackBuild3
-rw-r--r--system/ttop/ttop.info6
3 files changed, 8 insertions, 4 deletions
diff --git a/system/ttop/doinst.sh b/system/ttop/doinst.sh
new file mode 100644
index 000000000000..5fb28930db0b
--- /dev/null
+++ b/system/ttop/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/system/ttop/ttop.SlackBuild b/system/ttop/ttop.SlackBuild
index 6773003da225..a01b4d39cf55 100644
--- a/system/ttop/ttop.SlackBuild
+++ b/system/ttop/ttop.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=ttop
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,6 +81,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/ttop/ttop.info b/system/ttop/ttop.info
index 7ebe8feda9c4..128ff6ff9d1c 100644
--- a/system/ttop/ttop.info
+++ b/system/ttop/ttop.info
@@ -1,8 +1,8 @@
PRGNAM="ttop"
-VERSION="0.7.2"
+VERSION="0.8.1"
HOMEPAGE="https://github.com/ton1517/ttop"
-DOWNLOAD="https://pypi.python.org/packages/source/t/ttop/ttop-0.7.2.tar.gz"
-MD5SUM="1abdb144f139863c0e0ac0988f26e035"
+DOWNLOAD="https://pypi.python.org/packages/source/t/ttop/ttop-0.8.1.tar.gz"
+MD5SUM="21534265bcb567e5aa8b13d5c93093ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="docopt hurry-filesize psutil uptime"