summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 18:01:37 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:39 +0000
commit63a04628f834d3f085a0c99e5e1e77054749e454 (patch)
tree0ae5eecb847b83bd3d37bf1be2fbf55efc987f79
parentd3d0a09e27b40b188d39804215dda1954940d841 (diff)
downloadslackbuilds-63a04628f834d3f085a0c99e5e1e77054749e454.tar.gz
games/lbreakout2: 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/lbreakout2/lbreakout2.SlackBuild6
-rw-r--r--games/lbreakout2/lbreakout2.desktop5
2 files changed, 5 insertions, 6 deletions
diff --git a/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild
index e1f977e812..0dff36436e 100644
--- a/games/lbreakout2/lbreakout2.SlackBuild
+++ b/games/lbreakout2/lbreakout2.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
@@ -40,8 +40,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/lbreakout2/lbreakout2.desktop b/games/lbreakout2/lbreakout2.desktop
index 39ac59c7f1..8d2693ede1 100644
--- a/games/lbreakout2/lbreakout2.desktop
+++ b/games/lbreakout2/lbreakout2.desktop
@@ -1,10 +1,9 @@
[Desktop Entry]
-Encoding=UTF-8
Name=LBreakout2
GenericName=Breakout-style Arcade Game
Exec=lbreakout2
Terminal=false
Type=Application
-Categories=Application;Game;ArcadeGame
-Icon=lbreakout2.png
+Categories=Game;ArcadeGame
+Icon=lbreakout2
StartupNotify=false