summaryrefslogtreecommitdiff
path: root/libraries/pygoogle/pygoogle.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 00:33:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:33:13 +0200
commit76885df3afff5504fdadcebc339cd171ebddf875 (patch)
tree237863a19736ee4e3badfbf8b009044e5e5a0f19 /libraries/pygoogle/pygoogle.SlackBuild
parent0ab5b2c5449d6868bccc11e1c9a4dc9245022753 (diff)
downloadslackbuilds-76885df3afff5504fdadcebc339cd171ebddf875.tar.gz
libraries/pygoogle: Updated for version 0.6
Diffstat (limited to 'libraries/pygoogle/pygoogle.SlackBuild')
-rw-r--r--libraries/pygoogle/pygoogle.SlackBuild7
1 files changed, 3 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}