diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-26 20:42:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-26 20:42:06 +0700 |
commit | 7925326c06073da15d04d3806fc4e2bbe11a6d01 (patch) | |
tree | 9fbe99c127fd572deec04d3de04b6d093ca68668 | |
parent | 4e1e1ffe41dd92d34b3a967e745e72b763687edc (diff) |
python/python-cmdln: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python-cmdln/python-cmdln.SlackBuild | 10 | ||||
-rw-r--r-- | python/python-cmdln/python-cmdln.info | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/python/python-cmdln/python-cmdln.SlackBuild b/python/python-cmdln/python-cmdln.SlackBuild index 489c6ec825e6..645bd3123b1b 100644 --- a/python/python-cmdln/python-cmdln.SlackBuild +++ b/python/python-cmdln/python-cmdln.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-cmdln -VERSION=${VERSION:-1.1.2} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +31,7 @@ SRCNAM=cmdln if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,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" @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -unzip $CWD/$SRCNAM-$VERSION.zip +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ diff --git a/python/python-cmdln/python-cmdln.info b/python/python-cmdln/python-cmdln.info index 63557ff6b43b..a83defe0c6f9 100644 --- a/python/python-cmdln/python-cmdln.info +++ b/python/python-cmdln/python-cmdln.info @@ -1,8 +1,8 @@ PRGNAM="python-cmdln" -VERSION="1.1.2" -HOMEPAGE="https://code.google.com/p/cmdln/" -DOWNLOAD="http://cmdln.googlecode.com/files/cmdln-1.1.2.zip" -MD5SUM="d40a36d0c7b2a23c65a6ab1f213ddc0a" +VERSION="2.0.0" +HOMEPAGE="https://github.com/trentm/cmdln" +DOWNLOAD="https://github.com/trentm/cmdln/archive/2.0.0/cmdln-2.0.0.tar.gz" +MD5SUM="4dc5de6ed8029ae39402102dd914f02d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |