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 --- python/pyfltk/pyfltk.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'python/pyfltk/pyfltk.SlackBuild') diff --git a/python/pyfltk/pyfltk.SlackBuild b/python/pyfltk/pyfltk.SlackBuild index b6223fec46..f1f5dbff74 100644 --- a/python/pyfltk/pyfltk.SlackBuild +++ b/python/pyfltk/pyfltk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyfltk -# Copyright 2006-2010 LukenShiro +# Copyright 2006-2010 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,15 +24,13 @@ PRGNAM=pyfltk VERSION=${VERSION:-1.1.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -59,7 +57,11 @@ rm -rf $SRC_PRGNAM-$VERSION tar -xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz cd $SRC_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 {} \; # Copy documentation files mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3