From 1ed58269f0eba2aa0161ef14825c5bc930b2be37 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:38:57 -0400 Subject: libraries/purple-plugin_pack: Fixed for bash4. --- libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild index 086feb2bf24a..52eaa4f98a26 100644 --- a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild +++ b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild @@ -55,17 +55,8 @@ cp -a \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; -( 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 - ) - -( 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 mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3