diff options
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r-- | network/teamviewer/teamviewer.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index 6a660a1d1a..b7c747bdcc 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for teamviewer -# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm> +# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=teamviewer VERSION=${VERSION:-6.0.9224} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,6 +64,9 @@ mkdir -p $TMP $PKG $OUTPUT cd $PKG ar p $CWD/teamviewer_linux${DEBARCH}.deb data.tar.gz | gzip -d | tar xv +# Remove the upstream's version-specific executable +rm -f usr/bin/* + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -80,6 +83,9 @@ cat $PKG/opt/teamviewer/teamviewer/$MAIN_VER/desktop/teamviewer-teamviewer.deskt | sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \ > $PKG/usr/share/applications/teamviewer.desktop +# Create the generic executable +ln -sf /opt/teamviewer/teamviewer/$MAIN_VER/bin/teamviewer $PKG/usr/bin/teamviewer + # Link icon to /usr/share/pixmaps mkdir -p $PKG/usr/share/pixmaps ln -sf /opt/teamviewer/teamviewer/$MAIN_VER/desktop/teamviewer.png $PKG/usr/share/pixmaps/teamviewer.png |