summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero2010-05-19 08:36:13 +0200
committer David Somero2010-05-19 08:36:13 +0200
commita052cdc723345cfd8745d9bb9cea4b83f4089167 (patch)
tree2e7c509309b0469e209b6b4db0335ea5b03e0cfc
parent3c3940b1b93f8cd0d6b3c2c49b2bd7d73ca38040 (diff)
downloadslackbuilds-a052cdc723345cfd8745d9bb9cea4b83f4089167.tar.gz
libraries/gdk-pixbuf: Fixed for bash4.
-rw-r--r--libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild b/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild
index 9cbb9c796e..26c35bc3ec 100644
--- a/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild
+++ b/libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild
@@ -58,17 +58,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
-)
-
-( 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
# We don't need two copies of the html.
rm -rf $PKG/usr/share/gnome