diff options
author | Ruben Schuller <ruben@orgizm.net> | 2016-12-04 23:18:37 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:38 +0000 |
commit | 570446370d63fc65ef5c2aaa36ecaf5a4d618699 (patch) | |
tree | a2f63cd341b2da96c10e06af6f58fc25a91e0d88 /python/python-nbxmpp/python-nbxmpp.SlackBuild | |
parent | 4d0a40d66a5f80e8214cb02ada188cbbe61f199e (diff) |
python/python-nbxmpp: Updated for version 0.5.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/python-nbxmpp/python-nbxmpp.SlackBuild')
-rw-r--r-- | python/python-nbxmpp/python-nbxmpp.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/python/python-nbxmpp/python-nbxmpp.SlackBuild b/python/python-nbxmpp/python-nbxmpp.SlackBuild index e2a9212ad23c1..35b72cd3b5952 100644 --- a/python/python-nbxmpp/python-nbxmpp.SlackBuild +++ b/python/python-nbxmpp/python-nbxmpp.SlackBuild @@ -23,14 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-nbxmpp -VERSION=${VERSION:-0.5.3} +VERSION=${VERSION:-0.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} TARNAM=nbxmpp if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,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" @@ -61,11 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $TARNAM-$VERSION -if [ -e "$CWD/$TARNAM-$VERSION.tar.gz" ]; then - tar xvf $CWD/$TARNAM-$VERSION.tar.gz -elif [ -e "$CWD/8" ]; then - tar xvf $CWD/8 -fi +tar xvf $CWD/$TARNAM-$VERSION.tar.gz cd $TARNAM-$VERSION chown -R root:root . find -L . \ |