diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-13 21:55:15 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-20 14:08:08 -0500 |
commit | 55bef0caaa1690389483115232e1959f05720692 (patch) | |
tree | 89e438410de4c1590f7390f70b6606489f490fb1 /academic/chemtool/chemtool.SlackBuild | |
parent | 85d2f27a0d730eeb2aade1a6e292b96d3cc8effd (diff) |
academic/chemtool: Bumped copyright and misc cleanup
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/chemtool/chemtool.SlackBuild')
-rw-r--r-- | academic/chemtool/chemtool.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/academic/chemtool/chemtool.SlackBuild b/academic/chemtool/chemtool.SlackBuild index 7a6b54df91f4a..66526a07e8a87 100644 --- a/academic/chemtool/chemtool.SlackBuild +++ b/academic/chemtool/chemtool.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for chemtool -# Copyright 2006,2008,2009,2010 Robby Workman, Northport, Alabama, USA +# Copyright 2006,2008-2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,12 +27,10 @@ VERSION=1.6.9 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 @@ -77,8 +75,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; |