summaryrefslogtreecommitdiff
path: root/graphics/opencollada/opencollada.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opencollada/opencollada.SlackBuild')
-rw-r--r--graphics/opencollada/opencollada.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/graphics/opencollada/opencollada.SlackBuild b/graphics/opencollada/opencollada.SlackBuild
index f07a8d84fa..82e8f0ad01 100644
--- a/graphics/opencollada/opencollada.SlackBuild
+++ b/graphics/opencollada/opencollada.SlackBuild
@@ -24,8 +24,7 @@
PRGNAM=opencollada
SRCNAM=OpenCOLLADA
-VERSION=${VERSION:-0.20150429}
-SRCVERSION=${SRCVERSION:-3335ac164e68b2512a40914b14c74db260e6ff7d}
+VERSION=${VERSION:-1.6.47}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,13 +60,9 @@ set -ev
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/$SRCVERSION.tar.gz ]; then
- tar xvf $CWD/$SRCVERSION.tar.gz
-else
- tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
-fi
-cd $SRCNAM-$SRCVERSION
+rm -rf $SRCNAM-$VERSION
+tar xf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \