summaryrefslogtreecommitdiff
path: root/graphics/openscad/openscad.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-02-25 21:37:06 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-27 13:22:27 +0700
commitf5dfccb629147c427f24bf7ab71096940c66b115 (patch)
tree4057138650136ba8224fae5c3477663636fa1934 /graphics/openscad/openscad.SlackBuild
parent77a9348d39fa14ae01f075bfc7aced95a4f82c0f (diff)
downloadslackbuilds-f5dfccb629147c427f24bf7ab71096940c66b115.tar.gz
graphics/openscad: Updated for version 2015.03.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/openscad/openscad.SlackBuild')
-rw-r--r--graphics/openscad/openscad.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/openscad/openscad.SlackBuild b/graphics/openscad/openscad.SlackBuild
index 832182231d..9703bc3710 100644
--- a/graphics/openscad/openscad.SlackBuild
+++ b/graphics/openscad/openscad.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openscad
-VERSION=${VERSION:-2015.03}
+VERSION=${VERSION:-2015.03.2}
+SRCVER=${SRCVER:-$(echo $VERSION | sed 's/\./-/2')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.src.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \