diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-05 14:58:39 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-05 18:53:48 -0600 |
commit | 2a455e68357e51a35866fb9ace7790f8b5e0e633 (patch) | |
tree | f843db7f788e5b19a75f07fbfced4a16b4284b43 /academic/grace/grace.SlackBuild | |
parent | 15853572ac8770e647f530aec2d8ca7496ebd982 (diff) |
academic/grace: Updated for 5.1.23.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/grace/grace.SlackBuild')
-rw-r--r-- | academic/grace/grace.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/academic/grace/grace.SlackBuild b/academic/grace/grace.SlackBuild index 3fca5ab1d4dbe..26256648019ce 100644 --- a/academic/grace/grace.SlackBuild +++ b/academic/grace/grace.SlackBuild @@ -5,16 +5,14 @@ # Substantially modified by Robby Workman <rworkman@slackware.com> PRGNAM=grace -VERSION=5.1.22 +VERSION=${VERSION:-5.1.23} BUILD=${BUILD:-1} 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 @@ -47,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 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 {} \; # Apply some miscellaneous fixup patches patch -p0 < $CWD/patches/xmgrace-null.patch @@ -72,7 +74,6 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --enable-grace-home=/usr/lib${LIBDIRSUFFIX}/xmgrace \ --with-x \ - --with-netcdf \ --with-printcmd="lpr" \ --with-helpviewer="firefox %s" \ --build=$ARCH-slackware-linux |