aboutsummaryrefslogtreecommitdiff
path: root/network/teamviewer/teamviewer.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2011-07-25 22:13:50 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:34 -0300
commit70664c1501010768292f023beb6daa4ecf2fb5b6 (patch)
treecbaf0ee4a017ab72b4acb81966cf865314eed88b /network/teamviewer/teamviewer.SlackBuild
parentc41e61e03cbd5a6f7ac523fe8641f08168b77efa (diff)
network/teamviewer: Updated for version 6.0.9258.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r--network/teamviewer/teamviewer.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index b7c747bdcccc..df96512f6fba 100644
--- a/network/teamviewer/teamviewer.SlackBuild
+++ b/network/teamviewer/teamviewer.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=teamviewer
-VERSION=${VERSION:-6.0.9224}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-6.0.9258}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,9 +64,6 @@ 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 \) \
@@ -74,12 +71,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Remove upstream's version-specific executable
+rm -f usr/bin/*
+
find $PKG | xargs 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
mkdir -p $PKG/usr/share/applications
-cat $PKG/opt/teamviewer/teamviewer/$MAIN_VER/desktop/teamviewer-teamviewer.desktop.template \
+cat $PKG/opt/teamviewer/teamviewer/$MAIN_VER/desktop/teamviewer.desktop.template \
| sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \
> $PKG/usr/share/applications/teamviewer.desktop