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 /libraries/librtfcomp | |
parent | db2ab3abcc11b20112a291bd3d3cd61b7386dffe (diff) |
libraries/librtfcomp: Fixed for bash4.
Diffstat (limited to 'libraries/librtfcomp')
-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 f4c76a969b874..4cee4975d379b 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 |