aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 22:26:05 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:45 +0000
commit2076403f6aef6b15f535a831b92682c4b0b3d31b (patch)
treec5aca514a12f10678dd105b0de57af93754806d5
parentd3504cf671af0fe9d4f1cc79c83211a06a701c44 (diff)
games/tt: 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/tt/tt.SlackBuild6
-rw-r--r--games/tt/tt.desktop2
2 files changed, 3 insertions, 5 deletions
diff --git a/games/tt/tt.SlackBuild b/games/tt/tt.SlackBuild
index 09a8209b04e79..44aafcc2085f9 100644
--- a/games/tt/tt.SlackBuild
+++ b/games/tt/tt.SlackBuild
@@ -28,7 +28,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
@@ -39,8 +39,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/tt/tt.desktop b/games/tt/tt.desktop
index ac6b8270c6416..f12b98ba20177 100644
--- a/games/tt/tt.desktop
+++ b/games/tt/tt.desktop
@@ -2,10 +2,8 @@
Version=1.0
Name=TT
Type=Application
-Comment=Tetris for terminals
Terminal=true
Exec=tt
Icon=tt
Categories=ConsoleOnly;Game;
GenericName=Tetris for terminals
-Encoding=UTF-8