summaryrefslogtreecommitdiff
path: root/libraries/assimp/assimp.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-13 12:41:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-13 12:41:32 +0700
commit31a6e5a2b2263ef7e096913eadcea3656987ff24 (patch)
treeeb3d8d608266a270f8be2c23450ea6c07af001e8 /libraries/assimp/assimp.SlackBuild
parentda2bf3fc36247d4fa0671d01ec17cce927a1d82f (diff)
downloadslackbuilds-31a6e5a2b2263ef7e096913eadcea3656987ff24.tar.gz
libraries/assimp: Use source only.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 1a955d1385..85ba243385 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 \