summaryrefslogtreecommitdiff
path: root/python/affine/affine.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-01-24 13:01:16 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:59:05 +0700
commit34afb764dace11b9669551bdbd611be288c39f19 (patch)
treeb5f2abd86b9cbeb7843cf58c00e31d6cd2c22ba4 /python/affine/affine.SlackBuild
parent49cbf80282164b8b362bacb3e76edcfbb9e08cff (diff)
downloadslackbuilds-34afb764dace11b9669551bdbd611be288c39f19.tar.gz
python/affine: Updated for version 1.2.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/affine/affine.SlackBuild')
-rw-r--r--python/affine/affine.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/python/affine/affine.SlackBuild b/python/affine/affine.SlackBuild
index d8c7cb41e5..ab541a8497 100644
--- a/python/affine/affine.SlackBuild
+++ b/python/affine/affine.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=affine
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,11 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \