summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-11-27 15:37:19 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:18 +0700
commit4204aa2c2c6cbbba6dc21a6adf74d0ee2b809392 (patch)
treea2093ee64ce0f4f29c5fbebd3de3298fcdfc58e1 /games
parent4de70bbcc7a834600db086e4cb1d2d1e408a4d6e (diff)
downloadslackbuilds-4204aa2c2c6cbbba6dc21a6adf74d0ee2b809392.tar.gz
games/sdlpop: Updated for version 1.20.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/sdlpop/sdlpop.SlackBuild13
-rw-r--r--games/sdlpop/sdlpop.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/games/sdlpop/sdlpop.SlackBuild b/games/sdlpop/sdlpop.SlackBuild
index 0ab701bf92..c07308feec 100644
--- a/games/sdlpop/sdlpop.SlackBuild
+++ b/games/sdlpop/sdlpop.SlackBuild
@@ -6,8 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# 20180611 bkw: updated for v1.18.1.
-
+# 20191127 bkw: updated for v1.20.
+# 20180611 bkw: updated for v1.20.
# 20170316 bkw:
# - updated for v1.17.
# - use github for download (saves bandwidth, the homepage's zip file has
@@ -17,7 +17,7 @@
# - update wrapper script to support both system-wide and per-user mods.
PRGNAM=sdlpop
-VERSION=${VERSION:-1.18.1}
+VERSION=${VERSION:-1.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,11 +59,8 @@ rm -rf $ZIPNAME-$VERSION
unzip -a $CWD/$ZIPNAME-$VERSION.zip
cd $ZIPNAME-$VERSION
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 {} \+
sed -i "/^CFLAGS/s,\$, $SLKCFLAGS," src/Makefile
make -C src
diff --git a/games/sdlpop/sdlpop.info b/games/sdlpop/sdlpop.info
index e679160222..23dbe86615 100644
--- a/games/sdlpop/sdlpop.info
+++ b/games/sdlpop/sdlpop.info
@@ -1,8 +1,8 @@
PRGNAM="sdlpop"
-VERSION="1.18.1"
+VERSION="1.20"
HOMEPAGE="http://www.popot.org/get_the_games.php?game=SDLPoP"
-DOWNLOAD="https://github.com/NagyD/SDLPoP/archive/v1.18.1/SDLPoP-1.18.1.zip"
-MD5SUM="91216e72cf0d1b8e726bfe3fc7e33712"
+DOWNLOAD="https://github.com/NagyD/SDLPoP/archive/v1.20/SDLPoP-1.20.zip"
+MD5SUM="1e0961be9c8de62c9008b80f5b74d070"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_mixer SDL2_image"