summaryrefslogtreecommitdiffstats
path: root/games/speed-dreams/speed-dreams.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/speed-dreams/speed-dreams.SlackBuild')
-rw-r--r--games/speed-dreams/speed-dreams.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild
index 04e05a0b7e..16a75f8448 100644
--- a/games/speed-dreams/speed-dreams.SlackBuild
+++ b/games/speed-dreams/speed-dreams.SlackBuild
@@ -3,10 +3,13 @@
# Slackware build script for the game Speed Dreams
# written by powtrix (@gmail.com)
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by updating to v2.2.3_r7616.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=speed-dreams
-VERSION=${VERSION:-2.2.2_r6553}
+VERSION=${VERSION:-2.2.3_r7616}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -21,9 +24,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
@@ -63,12 +63,9 @@ tar xvf $CWD/$PRGNAM-src-wip-cars-and-tracks-$SRCVERSION.tar.xz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Thanks fedora
-patch -p0 < $CWD/speed-dreams-params-conversion.patch
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir build
cd build