summaryrefslogtreecommitdiff
path: root/libraries/SOAPpy/SOAPpy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/SOAPpy/SOAPpy.SlackBuild')
-rw-r--r--libraries/SOAPpy/SOAPpy.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/SOAPpy/SOAPpy.SlackBuild b/libraries/SOAPpy/SOAPpy.SlackBuild
index 99ee71ba50..c7c724b7c5 100644
--- a/libraries/SOAPpy/SOAPpy.SlackBuild
+++ b/libraries/SOAPpy/SOAPpy.SlackBuild
@@ -56,8 +56,7 @@ chmod 644 docs/*.txt
# Fix imports from future order
zcat $CWD/imports.patch.gz | patch -p1
-python setup.py bdist
-tar zxvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG
+python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -74,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}