diff options
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 0ab701bf928c..c07308feecfd 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 |