summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 18:06:55 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:40 +0000
commit81c49244e035e1e7f194c6dbf8ed5a0cd6f2046a (patch)
treeff96c6af42715e25bd443bd688f3ad011d363098
parentfcd8aafea81e6081484405ed12aeeff750eaa8ab (diff)
downloadslackbuilds-81c49244e035e1e7f194c6dbf8ed5a0cd6f2046a.tar.gz
games/njam: 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/njam/njam.SlackBuild6
-rw-r--r--games/njam/njam.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/games/njam/njam.SlackBuild b/games/njam/njam.SlackBuild
index a9825f9e54..af62b2dfb7 100644
--- a/games/njam/njam.SlackBuild
+++ b/games/njam/njam.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/njam/njam.desktop b/games/njam/njam.desktop
index b70093d9ed..23db327cc9 100644
--- a/games/njam/njam.desktop
+++ b/games/njam/njam.desktop
@@ -2,6 +2,6 @@
Type=Application
Name=NjAM
Exec=njam -w
-Icon=njam.png
+Icon=njam
Categories=Game;
Terminal=false