summaryrefslogtreecommitdiff
path: root/games/sms_sdl
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-04 11:09:13 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:44 +0700
commitf089a98ec3acfa9830446ddc2651f87792e2f1d6 (patch)
tree474a80b48c78e34ff345670859daaa74dbd3b709 /games/sms_sdl
parent5f625c9133369a627a8285d51b7896c53e79032e (diff)
downloadslackbuilds-f089a98ec3acfa9830446ddc2651f87792e2f1d6.tar.gz
games/sms_sdl: Fix icon.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/sms_sdl')
-rw-r--r--games/sms_sdl/sms_sdl.SlackBuild12
-rw-r--r--games/sms_sdl/sms_sdl.pngbin3752 -> 2898 bytes
2 files changed, 6 insertions, 6 deletions
diff --git a/games/sms_sdl/sms_sdl.SlackBuild b/games/sms_sdl/sms_sdl.SlackBuild
index 9aa8382f4a..40e3374897 100644
--- a/games/sms_sdl/sms_sdl.SlackBuild
+++ b/games/sms_sdl/sms_sdl.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200104 bkw:
+# - Whoops! The sms_sdl.png icon was actually a .gif. Fix & bump BUILD.
+
# 20160804 bkw:
# - fix and enhance sms_sdl.sh (qv), bump BUILD
@@ -19,7 +22,7 @@
PRGNAM=sms_sdl
VERSION=${VERSION:-0.9.4a_r7.1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,11 +63,8 @@ rm -rf $PRGNAM-$SRCVER
unzip $CWD/$PRGNAM-$SRCVER-src.zip
cd $PRGNAM-$SRCVER
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Sorry for all the patches, upstream has been unmaintained since 2001 or so.
diff --git a/games/sms_sdl/sms_sdl.png b/games/sms_sdl/sms_sdl.png
index bec3123a78..deddb79802 100644
--- a/games/sms_sdl/sms_sdl.png
+++ b/games/sms_sdl/sms_sdl.png
Binary files differ