diff options
-rw-r--r-- | libraries/libmimedir/libmimedir.SlackBuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libraries/libmimedir/libmimedir.SlackBuild b/libraries/libmimedir/libmimedir.SlackBuild index 795ad0b076..08b114e978 100644 --- a/libraries/libmimedir/libmimedir.SlackBuild +++ b/libraries/libmimedir/libmimedir.SlackBuild @@ -54,13 +54,8 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . -name "*.a" -exec strip -g {} \; 2>/dev/null || true - 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 $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 {} \; |