From 8a720b7565ebb622a1c75889a9266eb31f3f1305 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Mon, 11 Nov 2013 09:13:05 -0600 Subject: various: fixes for new templates (find/fixperms) Signed-off-by: Robby Workman --- libraries/fltk/fltk.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libraries/fltk/fltk.SlackBuild') diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild index 69b18f7310b1..a0e106305b03 100644 --- a/libraries/fltk/fltk.SlackBuild +++ b/libraries/fltk/fltk.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=fltk VERSION=1.1.10 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -67,7 +67,11 @@ rm -rf $PRGNAM-$VERSION tar xjf $CWD/$PRGNAM-$VERSION-source.tar.bz2 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 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 {} \; # Fix underlinking. patch -p1 -i $CWD/fltk-1.1.10-pkgconfig_xft.patch -- cgit v1.2.3