summaryrefslogtreecommitdiffstats
path: root/games/speed-dreams
diff options
context:
space:
mode:
Diffstat (limited to 'games/speed-dreams')
-rw-r--r--games/speed-dreams/README8
-rw-r--r--games/speed-dreams/speed-dreams.SlackBuild23
-rw-r--r--games/speed-dreams/speed-dreams.info22
3 files changed, 30 insertions, 23 deletions
diff --git a/games/speed-dreams/README b/games/speed-dreams/README
index 8d907b09a3..1a3e4daaa4 100644
--- a/games/speed-dreams/README
+++ b/games/speed-dreams/README
@@ -1,4 +1,4 @@
-Speed Dreams is a fork of the famous open racing car simulator Torcs, aiming
-to implement exciting new features, cars, tracks and AI opponents to make a
-more enjoyable game for the player, as well as constantly improving visual and
-physics realism.
+Speed Dreams is a fork of the famous open racing car simulator
+Torcs, aiming to implement exciting new features, cars, tracks and
+AI opponents to make a more enjoyable game for the player, as well as
+constantly improving visual and physics realism.
diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild
index 3887ecbb24..16a75f8448 100644
--- a/games/speed-dreams/speed-dreams.SlackBuild
+++ b/games/speed-dreams/speed-dreams.SlackBuild
@@ -1,12 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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_rc2_r6527}
+VERSION=${VERSION:-2.2.3_r7616}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION | tr _ -)
@@ -18,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,14 +59,13 @@ tar xvf $CWD/$PRGNAM-src-base-$SRCVERSION.tar.xz
tar xvf $CWD/$PRGNAM-src-hq-cars-and-tracks-$SRCVERSION.tar.xz
tar xvf $CWD/$PRGNAM-src-more-hq-cars-and-tracks-$SRCVERSION.tar.xz
tar xvf $CWD/$PRGNAM-src-wip-cars-and-tracks-$SRCVERSION.tar.xz
-tar xvf $CWD/$PRGNAM-src-unmaintained-$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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir build
cd build
@@ -96,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/speed-dreams/speed-dreams.info b/games/speed-dreams/speed-dreams.info
index f722c9cca6..bb41a53e4c 100644
--- a/games/speed-dreams/speed-dreams.info
+++ b/games/speed-dreams/speed-dreams.info
@@ -1,18 +1,16 @@
PRGNAM="speed-dreams"
-VERSION="2.2.2_rc2_r6527"
+VERSION="2.2.3_r7616"
HOMEPAGE="http://www.speed-dreams.org/"
-DOWNLOAD="https://sf.net/projects/speed-dreams/files/2.2.2/2.2.2-rc2/speed-dreams-src-base-2.2.2-rc2-r6527.tar.xz \
- https://sf.net/projects/speed-dreams/files/2.2.2/2.2.2-rc2/speed-dreams-src-hq-cars-and-tracks-2.2.2-rc2-r6527.tar.xz \
- https://sf.net/projects/speed-dreams/files/2.2.2/2.2.2-rc2/speed-dreams-src-more-hq-cars-and-tracks-2.2.2-rc2-r6527.tar.xz \
- https://sf.net/projects/speed-dreams/files/2.2.2/2.2.2-rc2/speed-dreams-src-unmaintained-2.2.2-rc2-r6527.tar.xz \
- https://sf.net/projects/speed-dreams/files/2.2.2/2.2.2-rc2/speed-dreams-src-wip-cars-and-tracks-2.2.2-rc2-r6527.tar.xz"
-MD5SUM="956bda0acbcb89eaa2ca742dbedc8941 \
- ed11647ad2d479dc4012ffd79375b995 \
- d615eda2c443a2e5ce74cf45d5374062 \
- 5d55831ca9371f8a55cc5616f9612164 \
- bc183b3e80c742bc249f630cb029920c"
+DOWNLOAD="https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-base-2.2.3-r7616.tar.xz \
+ https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-hq-cars-and-tracks-2.2.3-r7616.tar.xz \
+ https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-more-hq-cars-and-tracks-2.2.3-r7616.tar.xz \
+ https://downloads.sourceforge.net/project/speed-dreams/2.2.3/speed-dreams-src-wip-cars-and-tracks-2.2.3-r7616.tar.xz"
+MD5SUM="20ae5f2c657a74324ec0f04ef6fb5e65 \
+ 9aeb1f7b77c54c7c4b0f15acc82df807 \
+ 3f49f465fc8e841da070a1ef8405e92d \
+ 6439507f2109cb5dbaee41623a0a7f66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL enet plib SDL2 OpenSceneGraph"
+REQUIRES="enet plib OpenSceneGraph"
MAINTAINER="powtrix"
EMAIL="powtrix@gmail.com"