summaryrefslogtreecommitdiff
path: root/network/teamviewer/teamviewer.SlackBuild
diff options
context:
space:
mode:
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 45b8d6e802..9bb6cd28fa 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