summaryrefslogtreecommitdiffstats
path: root/python/python3-dugong/python3-dugong.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-dugong/python3-dugong.SlackBuild')
-rw-r--r--python/python3-dugong/python3-dugong.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/python/python3-dugong/python3-dugong.SlackBuild b/python/python3-dugong/python3-dugong.SlackBuild
index 39128197ad..bebd5b4fb8 100644
--- a/python/python3-dugong/python3-dugong.SlackBuild
+++ b/python/python3-dugong/python3-dugong.SlackBuild
@@ -27,8 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-dugong
-SRCNAM=nikratio-python-dugong
-REV=${REV:-21b41d977c10}
+SRCNAM=python-dugong
VERSION=${VERSION:-3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +53,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"
@@ -73,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$REV
-tar xvf $CWD/release-$VERSION.tar.bz2 || tar xvf $CWD/$SRCNAM-$REV.tar.bz2
-cd $SRCNAM-$REV
+rm -rf $SRCNAM-release-$VERSION
+tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz
+cd $SRCNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \