diff options
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 |