aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/crystal-lang/crystal-lang.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/development/crystal-lang/crystal-lang.SlackBuild b/development/crystal-lang/crystal-lang.SlackBuild
index e2fce860744bb..3ae0ac49a6269 100644
--- a/development/crystal-lang/crystal-lang.SlackBuild
+++ b/development/crystal-lang/crystal-lang.SlackBuild
@@ -28,6 +28,7 @@ PRGNAM=crystal-lang
BIN=crystal
VERSION=${VERSION:-0.34.0}
BUILD=${BUILD:-1}
+SRCBUILD=${SRCBUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,8 +68,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $PKG/usr $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$BIN-$VERSION-$BUILD-linux-$ARCH.tar.gz
-mv $BIN-$VERSION-$BUILD $PRGNAM-$VERSION
+tar xvf $CWD/$BIN-$VERSION-$SRCBUILD-linux-$ARCH.tar.gz
+mv $BIN-$VERSION-$SRCBUILD $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \