summaryrefslogtreecommitdiff
path: root/games/abuse
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 16:40:04 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:29 +0000
commit494f552b3772b3f35044ec0f81f729bdc735cf62 (patch)
tree4961775a9fdbfba76c32208112b61f6e7d9854a8 /games/abuse
parent9734b5facbdf5f1ac52226092f9fb9b4016bc1a4 (diff)
downloadslackbuilds-494f552b3772b3f35044ec0f81f729bdc735cf62.tar.gz
games/abuse: 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/abuse')
-rw-r--r--games/abuse/abuse.SlackBuild6
-rw-r--r--games/abuse/abuse.desktop4
2 files changed, 4 insertions, 6 deletions
diff --git a/games/abuse/abuse.SlackBuild b/games/abuse/abuse.SlackBuild
index e7add65c04..e104a13ff9 100644
--- a/games/abuse/abuse.SlackBuild
+++ b/games/abuse/abuse.SlackBuild
@@ -29,7 +29,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
@@ -45,8 +45,8 @@ DOCS="AUTHORS COPYING COPYING.GPL COPYING.WTFPL NEWS ChangeLog README TODO"
# Set this to YES if sound doesn't work
SOUNDFIX=${SOUNDFIX:-NO}
-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/abuse/abuse.desktop b/games/abuse/abuse.desktop
index 41537c35f8..75a6d5c6dc 100644
--- a/games/abuse/abuse.desktop
+++ b/games/abuse/abuse.desktop
@@ -1,10 +1,8 @@
[Desktop Entry]
-Encoding=UTF-8
Name=Abuse
GenericName=Dark 2D side-scrolling platform game
-Comment=Dark 2D side-scrolling platform game
Exec=abuse
-Icon=abuse.png
+Icon=abuse
Terminal=false
Type=Application
Categories=Game;