diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-27 18:26:07 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2022-02-27 22:29:04 -0600 |
commit | cdaf009574e5df91bbbee4b13a8186c0f2da87a9 (patch) | |
tree | e29d1759998c1bc1a544419514d81c28ae856895 /games/rlvm | |
parent | fd51c3fc72021884e39051fcdfd63eef9c41e890 (diff) | |
download | slackbuilds-cdaf009574e5df91bbbee4b13a8186c0f2da87a9.tar.gz |
games/rlvm: Remove NUMJOBS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/rlvm')
-rw-r--r-- | games/rlvm/rlvm.SlackBuild | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/games/rlvm/rlvm.SlackBuild b/games/rlvm/rlvm.SlackBuild index 3fd0161668..5dd2a86368 100644 --- a/games/rlvm/rlvm.SlackBuild +++ b/games/rlvm/rlvm.SlackBuild @@ -57,20 +57,6 @@ SRC_FLDR=$PRGNAM-$VERSION/ set -e -if [ -z "$NUMJOBS" ]; then - # 20220221 bkw: everything else respects MAKEFLAGS, set NUMJOBS here - # from environment MAKEFLAGS, if we can... - NUMJOBS="$( echo $MAKEFLAGS | sed 's,.*-j *\([0-9][0-9]*\).*,\1,' )" - - # ...if not, cores - 1: - [ -z "$NUMJOBS" ] && NUMJOBS=$(( $( nproc ) - 1 )) - - # ...but not if we only had one core! - [ "$NUMJOBS" = "0" ] && NUMJOBS=1 -fi - -echo "=== NUMJOBS='$NUMJOBS'" - rm -fr $TMP/$SRC_FLDR $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -92,7 +78,7 @@ SCONSFIX="$( find . -type f -a -name SCons\* )" SCONSFIX+=" site_scons/site_tools/rlvm.py" 2to3 --no-diffs -nw $SCONSFIX -scons --release jobs=$NUMJOBS +scons --release mkdir -p ${PKG}/usr/games ${PKG}/usr/bin cp build/release/rlvm $PKG/usr/games |