summaryrefslogtreecommitdiff
path: root/libraries/libmimedir/libmimedir.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:42 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:42 -0400
commit9ce68d494cb029e5674c4712b1a4468b12b2e396 (patch)
tree4d9cbfbdb1cf53d5d3efcae7921ff427a421a6ad /libraries/libmimedir/libmimedir.SlackBuild
parent06fc26dd97af0f66f8acd1d6d3f3dab3f4483389 (diff)
downloadslackbuilds-9ce68d494cb029e5674c4712b1a4468b12b2e396.tar.gz
libraries/libmimedir: Fixed for bash4.
Diffstat (limited to 'libraries/libmimedir/libmimedir.SlackBuild')
-rw-r--r--libraries/libmimedir/libmimedir.SlackBuild9
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 {} \;