summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-13 06:24:49 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-14 19:07:16 +0700
commitdbe1b7e25f926d4be7167bab42afe6eddec7fb13 (patch)
treefcd67f85180816d8c3a2ebbc820dc664275b124b /system
parent23e700523fd207deb90eebe4710807544e70b1f1 (diff)
downloadslackbuilds-dbe1b7e25f926d4be7167bab42afe6eddec7fb13.tar.gz
system/ptop: Updated for version 1.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/ptop/README2
-rw-r--r--system/ptop/ptop.SlackBuild12
-rw-r--r--system/ptop/ptop.info8
-rw-r--r--system/ptop/slack-desc2
4 files changed, 12 insertions, 12 deletions
diff --git a/system/ptop/README b/system/ptop/README
index 008fe08c37..4cb3aaca78 100644
--- a/system/ptop/README
+++ b/system/ptop/README
@@ -1,2 +1,2 @@
-An awesome task manager written in python. A more awesome top like
+An awesome task manager written in python. A more awesome top like
thing in your terminal !
diff --git a/system/ptop/ptop.SlackBuild b/system/ptop/ptop.SlackBuild
index fa37df62de..ee53525ac4 100644
--- a/system/ptop/ptop.SlackBuild
+++ b/system/ptop/ptop.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ptop
-# Copyright 2015 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ptop
-VERSION=${VERSION:-0.0.6}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/system/ptop/ptop.info b/system/ptop/ptop.info
index 6bcc1ce208..5668c21a41 100644
--- a/system/ptop/ptop.info
+++ b/system/ptop/ptop.info
@@ -1,8 +1,8 @@
PRGNAM="ptop"
-VERSION="0.0.6"
-HOMEPAGE="http://black-perl.me/ptop/"
-DOWNLOAD="https://pypi.python.org/packages/source/p/ptop/ptop-0.0.6.tar.gz"
-MD5SUM="4c1514a381ed52e47d5df0959570ec5e"
+VERSION="1.0.0"
+HOMEPAGE="http://black-perl.in/ptop/"
+DOWNLOAD="https://github.com/black-perl/ptop/archive/v1.0.0.tar.gz"
+MD5SUM="16a12031e6bc5191f389755e475b82a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="npyscreen psutil drawille"
diff --git a/system/ptop/slack-desc b/system/ptop/slack-desc
index c2c2192b9e..f5baa6f7de 100644
--- a/system/ptop/slack-desc
+++ b/system/ptop/slack-desc
@@ -11,7 +11,7 @@ ptop:
ptop: An awesome task manager written in python. A more awesome top like
ptop: thing in your terminal !
ptop:
-ptop: Homepage: http://black-perl.me/ptop/
+ptop: Homepage: http://black-perl.in/ptop/
ptop:
ptop:
ptop: