aboutsummaryrefslogtreecommitdiff
path: root/system/gtk-vnc
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:02 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:02 -0400
commit3e68a0cc4e8fb55cbc4f028611cb093b896c2501 (patch)
tree56e3dce9549aa153bad40ed0990bbda9e5eba6bb /system/gtk-vnc
parenta3561adc1691ca56531d32772a32f8d5f115a55e (diff)
system/gtk-vnc: Fixed for bash4.
Diffstat (limited to 'system/gtk-vnc')
-rw-r--r--system/gtk-vnc/gtk-vnc.SlackBuild13
1 files changed, 2 insertions, 11 deletions
diff --git a/system/gtk-vnc/gtk-vnc.SlackBuild b/system/gtk-vnc/gtk-vnc.SlackBuild
index cb97281f5d62..7e29ffa327a2 100644
--- a/system/gtk-vnc/gtk-vnc.SlackBuild
+++ b/system/gtk-vnc/gtk-vnc.SlackBuild
@@ -57,17 +57,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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \