mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
d4181b25bd
commit
df77f744d8
1 changed files with 3 additions and 2 deletions
|
@ -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 . \
|
||||
|
|
Loading…
Reference in a new issue