aboutsummaryrefslogtreecommitdiff
path: root/network/teamviewer/teamviewer.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-03 01:49:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-03 02:05:19 +0700
commit2306df159a42e04467d50c4ec11cb94547ce22bc (patch)
tree5bdd8748ee24425bc1efab7299fa72d5734487a3 /network/teamviewer/teamviewer.SlackBuild
parent3b24e74b48da626314bbc2777ccbdd3c4b8e9b94 (diff)
network/teamviewer: Updated for version 11.0.52520.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r--network/teamviewer/teamviewer.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index 45b8d6e802da4..9bb6cd28fa94c 100644
--- a/network/teamviewer/teamviewer.SlackBuild
+++ b/network/teamviewer/teamviewer.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=teamviewer
-VERSION=${VERSION:-10.0.46203}
+VERSION=${VERSION:-11.0.52520}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,7 +64,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/teamviewer_${VERSION}_${DEBARCH}.deb data.tar.gz | gzip -d | tar xv
+ar p $CWD/teamviewer_${VERSION}_${DEBARCH}.deb data.tar.bz2 | tar xjv
chown -R root:root .
find -L . \
@@ -78,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Make a .desktop file
mkdir -p $PKG/usr/share/applications
-cat $PKG/opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer10.desktop \
+cat $PKG/opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer11.desktop \
| sed -e 's/EXEC/teamviewer/' -e 's/ICON/teamviewer/' \
> $PKG/usr/share/applications/teamviewer.desktop
@@ -104,10 +104,9 @@ install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new
# Let's flip-flop the actual locations vs. symlinks of a couple of things:
# First remove the dangling symlink made by Debian packages:
-rm -f $PKG/var/log/teamviewer $PKG/etc/teamviewer
-mkdir -p $PKG/var/log/teamviewer $PKG/etc/teamviewer
+rm -rf $PKG/var/log/teamviewer $PKG/etc/teamviewer
+mkdir -p $PKG/var/log/teamviewer11 $PKG/etc/teamviewer
rm -rf $PKG/opt/teamviewer/logfiles/ $PKG/opt/teamviewer/config/
-ln -s /var/log/teamviewer $PKG/opt/teamviewer/logfiles
ln -s /etc/teamviewer $PKG/opt/teamviewer/config
mkdir -p $PKG/install