You need to sign in or sign up before continuing.
teamviewer.sh 705 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME="teamviewer"
4
SUPPORTEDARCHES="x86_64 aarch64"
5
VERSION="$2"
6
DESCRIPTION="Teamviewer from the official site"
7
URL="https://www.teamviewer.com/ru-cis/download/linux"
8 9 10

. $(dirname $0)/common.sh

11 12
warn_version_is_not_supported

13
arch=$(epm print info --distro-arch)
14

15 16
# See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=teamviewer

17 18 19
# TODO: version support
# https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.51.5.x86_64.rpm

20
# epm uses eget to download * names
21 22 23
PKGURL="https://download.teamviewer.com/download/linux/$(epm print constructname $PKGNAME)"

install_pkgurl
24

25 26 27
cat <<EOF

Note: run
28
# serv teamviewerd on
29
to enable needed teamviewer system service (daemon)
30
EOF