diff options
Diffstat (limited to 'graphics/openscad/openscad.SlackBuild')
-rw-r--r-- | graphics/openscad/openscad.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/openscad/openscad.SlackBuild b/graphics/openscad/openscad.SlackBuild index 832182231d322..9703bc371036a 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 \) \ |