aboutsummaryrefslogtreecommitdiff
path: root/libraries/assimp/assimp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/assimp/assimp.SlackBuild')
-rw-r--r--libraries/assimp/assimp.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/assimp/assimp.SlackBuild b/libraries/assimp/assimp.SlackBuild
index 1a955d138556..85ba243385ac 100644
--- a/libraries/assimp/assimp.SlackBuild
+++ b/libraries/assimp/assimp.SlackBuild
@@ -24,9 +24,9 @@
PRGNAM=assimp
SRCNAM=assimp-
-VERSION=${VERSION:-3.0.1270}
-SRCVER=$VERSION-full
-BUILD=${BUILD:-1}
+SRCVER=${SRCVER:-3.0.1270-source-only}
+VERSION=$(echo $SRCVER | cut -c1-8)
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION-sdk
+rm -rf $SRCNAM-$SRCVER
unzip $CWD/$SRCNAM-$SRCVER.zip
-cd $SRCNAM-$VERSION-sdk
+cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \