summaryrefslogtreecommitdiff
path: root/academic/qhull/qhull.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/qhull/qhull.SlackBuild')
-rw-r--r--academic/qhull/qhull.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild
index 39d79e0b9a..614efdf2b0 100644
--- a/academic/qhull/qhull.SlackBuild
+++ b/academic/qhull/qhull.SlackBuild
@@ -64,14 +64,8 @@ make install \
docdir=/usr/doc/$PRGNAM-$VERSION \
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
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | \
- xargs strip -g 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;