From 8e5990380a2328dc5b6d1cea9ad4b1341bd0beb3 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:30:30 -0400 Subject: academic/grace: Fixed for bash4. --- academic/grace/grace.SlackBuild | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'academic') diff --git a/academic/grace/grace.SlackBuild b/academic/grace/grace.SlackBuild index 520a94b23c..65c6d8c12d 100644 --- a/academic/grace/grace.SlackBuild +++ b/academic/grace/grace.SlackBuild @@ -70,12 +70,8 @@ make DESTDIR=$PKG install # Set up the links for /usr/bin, /usr/include, and /usr/lib make DESTDIR=$PKG install links -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Fix hardcoding of /usr/lib in the "links" target if [ "$ARCH" = "x86_64" ]; then @@ -99,15 +95,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild ) # We're going to leave the man pages where they are, since grace (might|does) -# look for them in its docs dir, but we also want users to be able to find -# them. Since grace might still use them directly, we're going to leave -# them uncompressed. Don't fuss - disk space is cheap :-) -mkdir -p $PKG/usr/man/man1 -( cd $PKG/usr/man/man1 - for i in convcal grace grconvert ; do - ln -s ../../lib${LIBDIRSUFFIX}/xmgrace/doc/${i}.1 . ; - done -) +# look for them in its docs dir. Since grace might still use them directly, +# we're going to leave them uncompressed. Don't fuss - disk space is cheap :-) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3-80-g2a13