diff options
Diffstat (limited to 'games/tuxnes/tuxnes.SlackBuild')
-rw-r--r-- | games/tuxnes/tuxnes.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/games/tuxnes/tuxnes.SlackBuild b/games/tuxnes/tuxnes.SlackBuild index 2c619f426c..54f58f8137 100644 --- a/games/tuxnes/tuxnes.SlackBuild +++ b/games/tuxnes/tuxnes.SlackBuild @@ -45,7 +45,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +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 {} \; # __FUNCTION__ is now a variable instead of a static string/macro in GCC 3.4+. # Replace __FUNCTION__ with the actual function names where it appears. @@ -80,7 +84,11 @@ make install-strip DESTDIR=$PKG tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . - chmod -R u+w,go+r-w,a-s . + 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 {} \; # Patch the Makefile to support $CFLAGS patch -p0 < $CWD/patches/Makefile.patch |