summaryrefslogtreecommitdiff
path: root/academic/opengrads/opengrads.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-05 18:37:25 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 18:53:51 -0600
commit7038fe9f164b1968f18ba4845f06827f083f51fd (patch)
tree3a2d126c5c5a66496771bcc3dd68d5059c77dda2 /academic/opengrads/opengrads.SlackBuild
parent3d882e24e3e4dddb311ed0041933cf0af80a10dd (diff)
downloadslackbuilds-7038fe9f164b1968f18ba4845f06827f083f51fd.tar.gz
academic/opengrads: Updated for version 2.0.1.oga.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/opengrads/opengrads.SlackBuild')
-rw-r--r--academic/opengrads/opengrads.SlackBuild9
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