summaryrefslogtreecommitdiff
path: root/network/teamviewer
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2011-03-04 15:45:10 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-03-08 12:14:44 -0600
commit98795f943000e70eff92be47112c1cbbfe0a3399 (patch)
treefa2d8d5be1807214681e83367bc1580db77d184f /network/teamviewer
parentf5b4808bb16b23740227d72da9e8fb7789c80e15 (diff)
downloadslackbuilds-98795f943000e70eff92be47112c1cbbfe0a3399.tar.gz
network/teamviewer: Fixed binary name so menu entries keep working
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/teamviewer')
-rw-r--r--network/teamviewer/README5
-rw-r--r--network/teamviewer/teamviewer.SlackBuild10
-rw-r--r--network/teamviewer/teamviewer.info2
3 files changed, 11 insertions, 6 deletions
diff --git a/network/teamviewer/README b/network/teamviewer/README
index 8c57ece61a..16f4cb3b82 100644
--- a/network/teamviewer/README
+++ b/network/teamviewer/README
@@ -3,6 +3,5 @@ fast and secure remote access to Linux, Windows PCs, and Macs.
The 32-bit package requires GConf.
-NOTE: The 64-bit package only works in a multi-lib environment and it
-requrires the following 32-bit packages: glibc, zlib, freetype,
-alsa-lib, and GConf.
+NOTE: The 64-bit package only works in a multi-lib environment, and it
+requires these 32-bit packages: glibc, zlib, freetype, alsa-lib, GConf
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
diff --git a/network/teamviewer/teamviewer.info b/network/teamviewer/teamviewer.info
index 20f8544182..01e16ec341 100644
--- a/network/teamviewer/teamviewer.info
+++ b/network/teamviewer/teamviewer.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64="http://www.teamviewer.com/download/teamviewer_linux_x64.deb"
MD5SUM_x86_64="40167ebe6f3e348928a7e28c941ccda1"
MAINTAINER="Binh Nguyen"
EMAIL="binhnguyen@fastmail.fm"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"