diff options
author | B. Watson <yalhcru@gmail.com> | 2019-11-27 15:37:19 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 17:06:18 +0700 |
commit | 4204aa2c2c6cbbba6dc21a6adf74d0ee2b809392 (patch) | |
tree | a2093ee64ce0f4f29c5fbebd3de3298fcdfc58e1 /games/sdlpop/sdlpop.SlackBuild | |
parent | 4de70bbcc7a834600db086e4cb1d2d1e408a4d6e (diff) | |
download | slackbuilds-4204aa2c2c6cbbba6dc21a6adf74d0ee2b809392.tar.gz |
games/sdlpop: Updated for version 1.20.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/sdlpop/sdlpop.SlackBuild')
-rw-r--r-- | games/sdlpop/sdlpop.SlackBuild | 13 |
1 files changed, 5 insertions, 8 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 |