summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:02 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:02 -0400
commitb46307846699f45098d0dcb0f197afb89adbb020 (patch)
treef410d2f3e14a881c38373f3143cf0c667b40baa8 /libraries
parentdb2ab3abcc11b20112a291bd3d3cd61b7386dffe (diff)
downloadslackbuilds-b46307846699f45098d0dcb0f197afb89adbb020.tar.gz
libraries/librtfcomp: Fixed for bash4.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/librtfcomp/librtfcomp.SlackBuild14
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