diff options
Diffstat (limited to 'academic/opengrads/opengrads.SlackBuild')
-rw-r--r-- | academic/opengrads/opengrads.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/academic/opengrads/opengrads.SlackBuild b/academic/opengrads/opengrads.SlackBuild index 83a677e20d..10a1d2247a 100644 --- a/academic/opengrads/opengrads.SlackBuild +++ b/academic/opengrads/opengrads.SlackBuild @@ -25,7 +25,7 @@ # Written by Oda - edu.oda@gmail.com PRGNAM=opengrads -VERSION=${VERSION:-2.0.a7.oga.2} +VERSION=${VERSION:-2.0.1.oga.1} ARCH=${ARCH:-i686} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,11 +52,12 @@ mv grads-$VERSION opengrads # and then symlink to replicate the original directory structure ln -s opengrads grads-$VERSION cd opengrads -find . \ +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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |