diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-05 06:54:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:41:44 +0700 |
commit | 9ff84659e6e7d7b3934418846b12f556b3184f46 (patch) | |
tree | 2b5b13b9e9b613ccf2c06f34c36e04c37ba1a8ec /network/teamviewer/teamviewer.SlackBuild | |
parent | 1132540a34c86a3a67036a505b64f29ee99632fa (diff) |
network/teamviewer: Updated for version 13.0.6634.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r-- | network/teamviewer/teamviewer.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index d258466c78864..c66e7dca715cf 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -26,7 +26,7 @@ # Modified by Mario Preksavec <mario@slackware.hr> PRGNAM=teamviewer -VERSION=${VERSION:-12.0.85001} +VERSION=${VERSION:-13.0.6634} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,11 +46,10 @@ OUTPUT=${OUTPUT:-/tmp} # Sanity check, we make sure resulting package will work on users system. case "$ARCH" in i?86) - : + DEBARCH=i386 ;; x86_64) - echo "$ARCH is not supported, you will need 32bit compatibility libs..." - ARCH=i586 + DEBARCH=amd64 ;; *) echo "$ARCH is not supported." @@ -58,9 +57,6 @@ case "$ARCH" in ;; esac -DEBARCH="i386" -LIBDIRSUFFIX="" - set -eu rm -rf $PKG @@ -74,9 +70,9 @@ if [ -f $CWD/teamviewer_${DEBARCH}.deb ]; then echo "Version of downloaded source [$REAL_VER] does not match version of SlackBuild [$VERSION]" exit 1 fi - ar p $CWD/teamviewer_${DEBARCH}.deb data.tar.bz2 | tar xjv + ar p $CWD/teamviewer_${DEBARCH}.deb data.tar.xz | tar xJv else - ar p $CWD/teamviewer_${VERSION}_${DEBARCH}.deb data.tar.bz2 | tar xjv + ar p $CWD/teamviewer_${VERSION}_${DEBARCH}.deb data.tar.xz | tar xJv fi chown -R root:root . @@ -108,6 +104,9 @@ mkdir -p $PKG/usr/share/pixmaps mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# We don't need apt +rm -rf $PKG/etc/apt/ + # Move docs to official place mv $PKG/opt/teamviewer/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/opt/teamviewer/doc/ |