From 19e334c1be59130fdee8d9330ccad89712cbe5c7 Mon Sep 17 00:00:00 2001 From: Philip Lacroix Date: Sat, 11 Feb 2017 23:23:57 +0000 Subject: libraries/pymdstat: Switch to i586, tweak download. Signed-off-by: David Spencer --- libraries/pymdstat/pymdstat.SlackBuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'libraries/pymdstat/pymdstat.SlackBuild') diff --git a/libraries/pymdstat/pymdstat.SlackBuild b/libraries/pymdstat/pymdstat.SlackBuild index d5e57ede264d..1775fbbb35d6 100644 --- a/libraries/pymdstat/pymdstat.SlackBuild +++ b/libraries/pymdstat/pymdstat.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pymdstat -# Copyright 2015 Philip Lacroix +# Copyright 2015-2017 Philip Lacroix # 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 . -- cgit v1.2.3