aboutsummaryrefslogtreecommitdiff
path: root/development/crystal-lang
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-23 18:09:14 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:18 +0700
commitdf77f744d81660d3ededc08a56c98c08e8cd776b (patch)
tree21d12acbbb8bd1fb2a549df6a193f8999314223d /development/crystal-lang
parentd4181b25bda8386148da0af514c1005d6c3827bb (diff)
development/crystal-lang: Fix BUILD usage.
BUILD is meant for users of the script, not upstream build numbers. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/crystal-lang')
-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 e2fce860744b..3ae0ac49a626 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 . \