mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/kforth: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
41b3e0e7d7
commit
2f0961f295
1 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,8 @@
|
|||
# Written by G. Schoenmakers <gschoen@iinet.net.au>
|
||||
|
||||
PRGNAM=kforth
|
||||
VERSION=${VERSION:-1.5.2}
|
||||
VERSION=${VERSION:-1.5.2p1}
|
||||
SRCVER="$( echo $VERSION | cut -dp -f1 )"
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -29,9 +30,9 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$MODEL-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$PRGNAM-$MODEL-$SRCVER.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 \) \
|
||||
|
@ -41,7 +42,6 @@ find -L . \
|
|||
|
||||
patch ForthVM.cpp $CWD/ForthVM.diff
|
||||
patch Makefile $CWD/Makefile.diff
|
||||
VERSION=${VERSION}p1
|
||||
|
||||
make
|
||||
|
||||
|
|
Loading…
Reference in a new issue