aboutsummaryrefslogtreecommitdiff
path: root/games/dustrac/dustrac.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2024-02-25 22:22:16 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-29 22:11:16 +0700
commit7dd171a4be1facd07ff96df866e8aa908328ed73 (patch)
tree56f820cfda64f75d349516507526a106746a9dff /games/dustrac/dustrac.SlackBuild
parent196b39c00b6b17f74bcae91b863c90782a2e6723 (diff)
games/dustrac: updated for version 2.1.1. New maintainer
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/dustrac/dustrac.SlackBuild')
-rw-r--r--games/dustrac/dustrac.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/dustrac/dustrac.SlackBuild b/games/dustrac/dustrac.SlackBuild
index 296d9f8cc00f..00f32deed1bb 100644
--- a/games/dustrac/dustrac.SlackBuild
+++ b/games/dustrac/dustrac.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for dustrac
# Copyright 2013-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dustrac
SRCNAM=DustRacing2D
-VERSION=${VERSION:-2.0.3}
+VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,7 +78,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# 20220220 bkw: C++ is an ever-moving target.
sed -i '1i#include <stdexcept>' src/game/audio/*.cpp
cmake -G "Unix Makefiles" \
@@ -95,7 +95,7 @@ make VERBOSE=1
make install DESTDIR=$PKG
strip $PKG/usr/games/*
-# 20220220 bkw: someone might not have /usr/games in $PATH
+# For people who don't have /usr/games in $PATH
sed -i '/^Exec/s,=,=/usr/games/,' $PKG/usr/share/applications/*.desktop
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild