aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:28 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:41:28 -0400
commitb2eab43876bae62ffd06b80f4fb7c3289e7148e4 (patch)
tree6ad182333c54767ec3c77ad4556a589c5ddac5fa
parentb255545de0a74d1ca3788b6ced5764321978c0c6 (diff)
multimedia/tabu_audio_player: Fixed for bash4.
-rw-r--r--multimedia/tabu_audio_player/tabu_audio_player.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild b/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
index 5fc8555f9a8d6..783c19c3cd8bc 100644
--- a/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
+++ b/multimedia/tabu_audio_player/tabu_audio_player.SlackBuild
@@ -70,17 +70,8 @@ make install DESTDIR=$PKG
# Kill an empty directory
rmdir $PKG/usr/share 2>/dev/null || true
-( 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 || true
-)
-
-( 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/usr/doc/$PRGNAM-$VERSION
cp -a \