summaryrefslogtreecommitdiffstats
path: root/python/python-nbxmpp/python-nbxmpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-nbxmpp/python-nbxmpp.SlackBuild')
-rw-r--r--python/python-nbxmpp/python-nbxmpp.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/python/python-nbxmpp/python-nbxmpp.SlackBuild b/python/python-nbxmpp/python-nbxmpp.SlackBuild
index e2a9212ad2..35b72cd3b5 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 . \