aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:10 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:10 -0400
commit8550163785510cdcced55d77d70e16a4a4e6aa10 (patch)
treefc1e5e99683312bc2e4435498f205eebd85f0e3f
parent0bfd6f79d0c1706cedeb7ddea911cab7d908c739 (diff)
desktop/qt-recordmydesktop: Fixed for bash4.
-rw-r--r--desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild b/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild
index 1f5af8c1748e6..f3a63a22e6bb4 100644
--- a/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild
+++ b/desktop/qt-recordmydesktop/qt-recordmydesktop.SlackBuild
@@ -53,17 +53,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install 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 || 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 \