summaryrefslogtreecommitdiff
path: root/libraries/GitPython/GitPython.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/GitPython/GitPython.SlackBuild')
-rw-r--r--libraries/GitPython/GitPython.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/GitPython/GitPython.SlackBuild b/libraries/GitPython/GitPython.SlackBuild
index 11fe308351..905c4c0ca8 100644
--- a/libraries/GitPython/GitPython.SlackBuild
+++ b/libraries/GitPython/GitPython.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=GitPython
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,7 +75,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES LICENSE PKG-INFO VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES LICENSE VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install