From 2076403f6aef6b15f535a831b92682c4b0b3d31b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 22:26:05 -0400 Subject: games/tt: Make .desktop validate, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- games/tt/tt.SlackBuild | 6 +++--- games/tt/tt.desktop | 2 -- 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 -- cgit v1.2.3