diff options
Diffstat (limited to 'graphics/opencollada/opencollada.SlackBuild')
-rw-r--r-- | graphics/opencollada/opencollada.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/opencollada/opencollada.SlackBuild b/graphics/opencollada/opencollada.SlackBuild index edba533c5a..1b489ff39b 100644 --- a/graphics/opencollada/opencollada.SlackBuild +++ b/graphics/opencollada/opencollada.SlackBuild @@ -23,7 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=opencollada -VERSION=${VERSION:-0.git20150310} +SRCNAM=OpenCOLLADA +VERSION=${VERSION:-0.20150429} +SRCVERSION=${SRCVERSION:-3335ac164e68b2512a40914b14c74db260e6ff7d} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,8 +62,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $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 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |