summaryrefslogtreecommitdiff
path: root/graphics/gpaint
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 23:46:04 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:01 +0000
commit57c72156ead02b7371676fd3f9ac3ef0a493543e (patch)
tree782019978294e210f070e51d97862c9a91825c1a /graphics/gpaint
parent85676fd5d6bdd0b64c6dcec780e3c9bf0621afd8 (diff)
downloadslackbuilds-57c72156ead02b7371676fd3f9ac3ef0a493543e.tar.gz
graphics/gpaint: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/gpaint')
-rw-r--r--graphics/gpaint/gpaint.SlackBuild6
-rw-r--r--graphics/gpaint/gpaint.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/gpaint/gpaint.SlackBuild b/graphics/gpaint/gpaint.SlackBuild
index b343c4b4c0..a1c3993328 100644
--- a/graphics/gpaint/gpaint.SlackBuild
+++ b/graphics/gpaint/gpaint.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/graphics/gpaint/gpaint.desktop b/graphics/gpaint/gpaint.desktop
index 81e89d9e82..2bc6942551 100644
--- a/graphics/gpaint/gpaint.desktop
+++ b/graphics/gpaint/gpaint.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Categories=Graphics;
Exec=gpaint-2
-Icon=gpaint.png
+Icon=gpaint
Name=gPaint
StartupNotify=false
Type=Application