diff options
Diffstat (limited to 'games/open-adventure/open-adventure.SlackBuild')
-rw-r--r-- | games/open-adventure/open-adventure.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild index 2c1a1ee8e9..d854e29d96 100644 --- a/games/open-adventure/open-adventure.SlackBuild +++ b/games/open-adventure/open-adventure.SlackBuild @@ -6,13 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20181203 bkw: Update for v1.6. + # 20180114 bkw: # - Update for v1.4. # - Include upstream's icon and .desktop. # - New dependencies in .info file :( PRGNAM=open-adventure -VERSION=${VERSION:-1.4} +VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,11 +64,8 @@ tar xvf $CWD/$PRGNAM-$VERSION-*.tar.bz2 cd $PRGNAM-$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 {} \+ # It'd be nice if I could pass my own CFLAGS without editing the Makefile... sed -i "s,-O2,$SLKCFLAGS," Makefile |