python/tweepy: Fixed for github tarball.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2013-11-20 21:33:22 +00:00 committed by Willy Sudiarto Raharjo
parent 35a15bb5e9
commit 0553ee25e2

View file

@ -61,7 +61,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$VERSION.tar.?z*
if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
else
tar xvf $CWD/$VERSION.tar.?z*
fi
cd $PRGNAM-$VERSION
chown -R root:root .
find . \