aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-11-03 02:04:00 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-09 07:02:41 +0700
commitda851e94974ace63adf513c8d8c7e3c5cd798cc3 (patch)
treeb7b16bc788d5f0597431f1a4751e122fb938eaf9 /games
parent4de4ef1d48b62b0f830b1cb5762b306659d640c9 (diff)
games/cubosphere: *really* build with lua51.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/cubosphere/cubosphere.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/cubosphere/cubosphere.SlackBuild b/games/cubosphere/cubosphere.SlackBuild
index 4875951bc881..1bf197be10b1 100644
--- a/games/cubosphere/cubosphere.SlackBuild
+++ b/games/cubosphere/cubosphere.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20241103 bkw: Modified by SlackBuilds.org, BUILD=3: build with lua51.
+
# 20241019 bkw: Modified by SlackBuilds.org, BUILD=2:
# - build with luajit.
# - binary in /usr/games.
@@ -33,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cubosphere
VERSION=${VERSION:-beta0.3a}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -89,11 +91,9 @@ cd src
sed -i \
-e '/^PREFIX/s|=.*|=/usr|' \
-e "s|-O3$|$SLKCFLAGS|" \
- -e "s|^LUALIBS=.*|LUALIBS=-lluajit-5.1|" \
- -e "s|^LUAINC=.*|LUAINC=-I/usr/include/luajit-2.0|" \
Makefile
- make
+ make || make -j1
make install DESTDIR=$PKG
cd -