summaryrefslogtreecommitdiff
path: root/libraries/pymdstat
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pymdstat')
-rw-r--r--libraries/pymdstat/pymdstat.SlackBuild13
-rw-r--r--libraries/pymdstat/pymdstat.info4
2 files changed, 5 insertions, 12 deletions
diff --git a/libraries/pymdstat/pymdstat.SlackBuild b/libraries/pymdstat/pymdstat.SlackBuild
index d5e57ede26..1775fbbb35 100644
--- a/libraries/pymdstat/pymdstat.SlackBuild
+++ b/libraries/pymdstat/pymdstat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pymdstat
-# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ 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
@@ -46,14 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-
-# The upstream tarball will be named differently, depending on
-# the file being downloaded manually (web browser) or with wget.
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvzf $CWD/v$VERSION.tar.gz
-else
- tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
diff --git a/libraries/pymdstat/pymdstat.info b/libraries/pymdstat/pymdstat.info
index 4910e549af..d2127c1333 100644
--- a/libraries/pymdstat/pymdstat.info
+++ b/libraries/pymdstat/pymdstat.info
@@ -1,8 +1,8 @@
PRGNAM="pymdstat"
VERSION="0.4.2"
HOMEPAGE="https://github.com/nicolargo/pymdstat"
-DOWNLOAD="https://github.com/nicolargo/pymdstat/archive/v0.4.2.tar.gz"
-MD5SUM="49cf57575fd15cb8ee6655d5c353ce09"
+DOWNLOAD="https://github.com/nicolargo/pymdstat/archive/v0.4.2/pymdstat-0.4.2.tar.gz"
+MD5SUM="49cf57575fd15cb8ee6655d5c353ce09"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""