diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:02 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:02 -0400 |
commit | b46307846699f45098d0dcb0f197afb89adbb020 (patch) | |
tree | f410d2f3e14a881c38373f3143cf0c667b40baa8 | |
parent | db2ab3abcc11b20112a291bd3d3cd61b7386dffe (diff) | |
download | slackbuilds-b46307846699f45098d0dcb0f197afb89adbb020.tar.gz |
libraries/librtfcomp: Fixed for bash4.
-rw-r--r-- | libraries/librtfcomp/librtfcomp.SlackBuild | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libraries/librtfcomp/librtfcomp.SlackBuild b/libraries/librtfcomp/librtfcomp.SlackBuild index f4c76a969b..4cee4975d3 100644 --- a/libraries/librtfcomp/librtfcomp.SlackBuild +++ b/libraries/librtfcomp/librtfcomp.SlackBuild @@ -58,18 +58,8 @@ make make install DESTDIR=$PKG # Strip binaries and libraries -( 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 -) - -# Compress man pages -( 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 # Documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |