games/ultimatestunts: Use a single make job.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2022-02-21 14:22:27 +01:00 committed by Robby Workman
parent 516312f6fb
commit d5c2c180d1

View file

@ -2,7 +2,7 @@
# Slackware build script for ultimatestunts
# Copyright 2018 - 2020 Johannes Schoepfer, Germany
# Copyright 2018 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -89,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--build=$ARCH-slackware-linux
make
make -j1
make sysconfdir=$PKG/etc prefix=$PKG/usr install
mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new