summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-05 14:58:39 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 18:53:48 -0600
commit2a455e68357e51a35866fb9ace7790f8b5e0e633 (patch)
treef843db7f788e5b19a75f07fbfced4a16b4284b43
parent15853572ac8770e647f530aec2d8ca7496ebd982 (diff)
downloadslackbuilds-2a455e68357e51a35866fb9ace7790f8b5e0e633.tar.gz
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>
-rw-r--r--academic/grace/grace.SlackBuild11
-rw-r--r--academic/grace/grace.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/academic/grace/grace.SlackBuild b/academic/grace/grace.SlackBuild
index 3fca5ab1d4..2625664801 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
diff --git a/academic/grace/grace.info b/academic/grace/grace.info
index 6075b467c1..95e4e4f1ea 100644
--- a/academic/grace/grace.info
+++ b/academic/grace/grace.info
@@ -1,8 +1,8 @@
PRGNAM="grace"
-VERSION="5.1.22"
+VERSION="5.1.23"
HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/"
-DOWNLOAD="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.22.tar.gz"
-MD5SUM="672356466f18fe59ed21a8fb44f9851d"
+DOWNLOAD="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.23.tar.gz"
+MD5SUM="e2b28ebe31288952d899fbb5c97858ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="netcdf"