diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:09 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:34:09 -0400 |
commit | 0c01995b32563a7b6fc7ae8926f50766075891e2 (patch) | |
tree | 5d502527b6c97c8cf84c853aaba17ca9282738af | |
parent | b3c9bb3af4192b3815d0f49c87be6cdc85838e6a (diff) |
development/teagtk: Fixed for bash4.
-rw-r--r-- | development/teagtk/teagtk.SlackBuild | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/development/teagtk/teagtk.SlackBuild b/development/teagtk/teagtk.SlackBuild index b435b0fb8650..a81c44c359f0 100644 --- a/development/teagtk/teagtk.SlackBuild +++ b/development/teagtk/teagtk.SlackBuild @@ -54,17 +54,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 - 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/share/{applications,pixmaps} cat $CWD/teagtk.desktop > $PKG/usr/share/applications/teagtk.desktop |