diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-27 10:05:07 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-27 11:44:01 -0500 |
commit | 7e18723f9cd640190af83e2050df4043c5aa6f62 (patch) | |
tree | 4472c892f2f1ade449923294f7576ed4f9fb1053 /network/teamviewer/teamviewer.SlackBuild | |
parent | e0808e0d3a28e6b14c2a7b423bca7fd6b97df5a1 (diff) | |
download | slackbuilds-7e18723f9cd640190af83e2050df4043c5aa6f62.tar.gz |
network/teamviewer: Updated for version 9.0.27891.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r-- | network/teamviewer/teamviewer.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index b7e242e853..6092d35296 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for teamviewer # Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com> -# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=teamviewer -VERSION=${VERSION:-9.0.24147} +VERSION=${VERSION:-9.0.27891} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,7 +73,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Make a .desktop file @@ -90,13 +90,14 @@ rm $PKG/usr/bin/teamviewer # Link icon to /usr/share/pixmaps mkdir -p $PKG/usr/share/pixmaps -ln -sf /opt/teamviewer9/tv_bin/desktop/teamviewer.png $PKG/usr/share/pixmaps/teamviewer.png +( ln -sf /opt/teamviewer9/tv_bin/desktop/teamviewer.png $PKG/usr/share/pixmaps/teamviewer.png ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Move docs to official place mv $PKG/opt/teamviewer9/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/opt/teamviewer9/doc/ mkdir -p $PKG/etc/rc.d/ install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new |