aboutsummaryrefslogtreecommitdiff
path: root/libraries/gtkhtml/gtkhtml.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gtkhtml/gtkhtml.SlackBuild')
-rw-r--r--libraries/gtkhtml/gtkhtml.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/libraries/gtkhtml/gtkhtml.SlackBuild b/libraries/gtkhtml/gtkhtml.SlackBuild
index 76a56f9f67799..c5d9aac543961 100644
--- a/libraries/gtkhtml/gtkhtml.SlackBuild
+++ b/libraries/gtkhtml/gtkhtml.SlackBuild
@@ -77,17 +77,9 @@ 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
-)
+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 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \