diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-20 16:51:05 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:27:33 +0000 |
commit | e50c4c926baa1625dfbc4d7d51b75d9723bccec0 (patch) | |
tree | aef645a1abccf934b91f1b8a3a53543596bfe13a /games/cgmadness | |
parent | 7b9d1442bf0193753cb8beb582768ec99b59a973 (diff) |
games/cgmadness: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/cgmadness')
-rw-r--r-- | games/cgmadness/cgmadness.SlackBuild | 7 | ||||
-rw-r--r-- | games/cgmadness/cgmadness.desktop | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/games/cgmadness/cgmadness.SlackBuild b/games/cgmadness/cgmadness.SlackBuild index 757e95de632e9..c23ff57222504 100644 --- a/games/cgmadness/cgmadness.SlackBuild +++ b/games/cgmadness/cgmadness.SlackBuild @@ -1,4 +1,3 @@ - #!/bin/sh # Slackware build script for cgmadness @@ -12,7 +11,7 @@ TAG=${TAG:-_SBo} 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 +22,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/cgmadness/cgmadness.desktop b/games/cgmadness/cgmadness.desktop index 7908d7ad99162..3085f24503e99 100644 --- a/games/cgmadness/cgmadness.desktop +++ b/games/cgmadness/cgmadness.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=CG Madness GenericName=Marble Madness-like game Comment=Game based on the classic Marble Madness |