summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/pygoogle/pygoogle.SlackBuild7
-rw-r--r--libraries/pygoogle/pygoogle.info2
2 files changed, 5 insertions, 4 deletions
diff --git a/libraries/pygoogle/pygoogle.SlackBuild b/libraries/pygoogle/pygoogle.SlackBuild
index 636a45f2d3..590e31a4c3 100644
--- a/libraries/pygoogle/pygoogle.SlackBuild
+++ b/libraries/pygoogle/pygoogle.SlackBuild
@@ -41,7 +41,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -56,8 +56,7 @@ chmod 644 readme.txt
# Fix version in setup.py
zcat $CWD/version.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}
diff --git a/libraries/pygoogle/pygoogle.info b/libraries/pygoogle/pygoogle.info
index 03eb0888aa..ba7e6810c5 100644
--- a/libraries/pygoogle/pygoogle.info
+++ b/libraries/pygoogle/pygoogle.info
@@ -2,7 +2,9 @@ PRGNAM="pygoogle"
VERSION="0.6"
HOMEPAGE="http://pygoogle.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/pygoogle/pygoogle-0.6.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="334e2d9e5a765ffa9769e2c4cdfcd110"
+MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"