games/sdlpop: Updated for version 1.20.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2019-11-27 15:37:19 -05:00 committed by Willy Sudiarto Raharjo
parent 4de70bbcc7
commit 4204aa2c2c
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 8 additions and 11 deletions

View file

@ -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

View file

@ -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"