summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:27 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:30:27 -0400
commitca2e1b5c2d337bd4fe1d3c1dba343de629b7ed2d (patch)
tree9094a628543b782a2c5e96e1d9ecc76a4162bbe4 /academic
parentfbe413824360a1eaf4ececf746163ea0cc5f8a7e (diff)
downloadslackbuilds-ca2e1b5c2d337bd4fe1d3c1dba343de629b7ed2d.tar.gz
academic/genius: Fixed for bash4.
Diffstat (limited to 'academic')
-rw-r--r--academic/genius/genius.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild
index e0846a18bf..a54a0cb32e 100644
--- a/academic/genius/genius.SlackBuild
+++ b/academic/genius/genius.SlackBuild
@@ -82,17 +82,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a TODO NEWS README AUTHORS ABOUT-NLS INSTALL ChangeLog \