summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 18:46:37 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:44 +0000
commitc1be1e4a9bdbef58a1da8102eecbd54327fd5496 (patch)
treec171ff70eedb71e0bac65c9fee43cc6990835771
parent69e1f0605a5165f7f3a1d260607442cb826709e5 (diff)
downloadslackbuilds-c1be1e4a9bdbef58a1da8102eecbd54327fd5496.tar.gz
games/speed-dreams: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--games/speed-dreams/speed-dreams.SlackBuild6
-rw-r--r--games/speed-dreams/speed-dreams.desktop4
2 files changed, 5 insertions, 5 deletions
diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild
index b3e5542706..e919972b21 100644
--- a/games/speed-dreams/speed-dreams.SlackBuild
+++ b/games/speed-dreams/speed-dreams.SlackBuild
@@ -12,7 +12,7 @@ SRCVERSION=$(echo $VERSION | tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -23,8 +23,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/games/speed-dreams/speed-dreams.desktop b/games/speed-dreams/speed-dreams.desktop
index 75853dc648..f4432b22fb 100644
--- a/games/speed-dreams/speed-dreams.desktop
+++ b/games/speed-dreams/speed-dreams.desktop
@@ -2,7 +2,7 @@
Name=Speed Dreams
Comment=an Open Motorsport Sim
Exec=/usr/games/speed-dreams-2
-Icon=speed-dreams.xpm
+Icon=speed-dreams
Terminal=false
Type=Application
-Categories=Application;Game;
+Categories=Game;