summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 16:51:05 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:33 +0000
commite50c4c926baa1625dfbc4d7d51b75d9723bccec0 (patch)
treeaef645a1abccf934b91f1b8a3a53543596bfe13a
parent7b9d1442bf0193753cb8beb582768ec99b59a973 (diff)
downloadslackbuilds-e50c4c926baa1625dfbc4d7d51b75d9723bccec0.tar.gz
games/cgmadness: 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/cgmadness/cgmadness.SlackBuild7
-rw-r--r--games/cgmadness/cgmadness.desktop1
2 files changed, 3 insertions, 5 deletions
diff --git a/games/cgmadness/cgmadness.SlackBuild b/games/cgmadness/cgmadness.SlackBuild
index 757e95de63..c23ff57222 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 7908d7ad99..3085f24503 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