2015-12-02 16:13:37 -08:00
|
|
|
# Maintainer: Alex Taber <aft dot pokemon at gmail dot com>
|
2015-06-08 03:58:09 -07:00
|
|
|
|
|
|
|
pkgname=teamviewer
|
2018-02-17 12:09:11 -08:00
|
|
|
pkgver=12.0.90041
|
2017-11-16 09:45:42 -08:00
|
|
|
pkgrel=7
|
2015-12-02 16:13:37 -08:00
|
|
|
pkgdesc='All-In-One Software for Remote Support and Online Meetings'
|
2015-06-08 03:58:09 -07:00
|
|
|
arch=('i686' 'x86_64')
|
2015-12-02 16:13:37 -08:00
|
|
|
url='http://www.teamviewer.com'
|
2015-06-08 03:58:09 -07:00
|
|
|
license=('custom')
|
|
|
|
options=('!strip')
|
2015-12-02 16:13:37 -08:00
|
|
|
provides=('teamviewer')
|
2015-12-02 17:32:31 -08:00
|
|
|
conflicts=('teamviewer-beta')
|
2015-12-02 16:13:37 -08:00
|
|
|
depends_x86_64=(
|
2017-10-21 11:37:17 -07:00
|
|
|
'lib32-fontconfig'
|
2016-03-07 06:23:18 -08:00
|
|
|
'lib32-libpng12'
|
2015-12-02 16:13:37 -08:00
|
|
|
'lib32-libsm'
|
|
|
|
'lib32-libxinerama'
|
2016-04-29 13:02:26 -07:00
|
|
|
'lib32-libxrender'
|
2016-06-28 04:24:24 -07:00
|
|
|
'lib32-libjpeg6-turbo'
|
2016-10-15 05:30:12 -07:00
|
|
|
'lib32-libxtst'
|
2017-11-16 09:45:42 -08:00
|
|
|
'lib32-freetype2'
|
2017-11-29 05:38:56 -08:00
|
|
|
'lib32-dbus'
|
2016-06-28 04:24:24 -07:00
|
|
|
'libxtst')
|
2015-12-02 16:13:37 -08:00
|
|
|
depends_i686=(
|
2017-10-21 11:37:17 -07:00
|
|
|
'fontconfig'
|
2016-03-08 04:25:48 -08:00
|
|
|
'libpng12'
|
2015-12-02 16:13:37 -08:00
|
|
|
'libsm'
|
|
|
|
'libxinerama'
|
2016-04-29 13:02:26 -07:00
|
|
|
'libxrender'
|
2016-06-28 04:24:24 -07:00
|
|
|
'libjpeg6-turbo'
|
2017-11-16 09:45:42 -08:00
|
|
|
'freetype2'
|
2016-06-28 04:24:24 -07:00
|
|
|
'libxtst')
|
2015-12-02 16:13:37 -08:00
|
|
|
install=teamviewer.install
|
2017-11-16 09:45:42 -08:00
|
|
|
source_x86_64=("https://download.teamviewer.com/download/version_${pkgver%%.*}x/teamviewer_${pkgver}_amd64.deb"
|
|
|
|
"https://archive.archlinux.org/packages/l/lib32-freetype2/lib32-freetype2-2.8-2-x86_64.pkg.tar.xz")
|
|
|
|
source_i686=("https://download.teamviewer.com/download/version_${pkgver%%.*}x/teamviewer_${pkgver}_i386.deb"
|
|
|
|
"https://archive.archlinux.org/packages/f/freetype2/freetype2-2.8-2-i686.pkg.tar.xz")
|
2018-02-17 12:09:11 -08:00
|
|
|
sha256sums_i686=('8f2f108d2e303705a55111fd8af6561f25537b017bcc795766d6aba63a32eea5'
|
2017-11-16 09:45:42 -08:00
|
|
|
'd33cf8be0c4be1c602d368fb363c9029d87f2bc4fdfcae5063595ac482ca39e8')
|
2018-02-17 12:09:11 -08:00
|
|
|
sha256sums_x86_64=('a30bfaa0ddfa7f6ab03141f0deb8fd0a26760e1b18ea1cb9e54b5b54bf2c0131'
|
2017-11-16 09:45:42 -08:00
|
|
|
'4f39c9bd52579ac5d13980d760a5434fdb0f0638df07d2abca9ea44a779185e3')
|
2015-06-08 03:58:09 -07:00
|
|
|
|
2015-12-02 16:13:37 -08:00
|
|
|
prepare() {
|
2016-12-05 09:55:37 -08:00
|
|
|
warning "If the install fails, you need to uninstall previous major version of Teamviewer"
|
2017-11-16 09:45:42 -08:00
|
|
|
mkdir data
|
|
|
|
cd data
|
|
|
|
tar -xf ../data.tar.bz2
|
2015-06-08 03:58:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-12-02 16:13:37 -08:00
|
|
|
# Install
|
2016-12-05 09:55:37 -08:00
|
|
|
warning "If the install fails, you need to uninstall previous major version of Teamviewer"
|
2017-11-16 09:45:42 -08:00
|
|
|
cp -dr --no-preserve=ownership ./data/{etc,opt,usr,var} "${pkgdir}"/
|
|
|
|
|
|
|
|
# freetype workaround
|
|
|
|
[ -e "${srcdir}/usr/lib32/libfreetype.so.6.14.0" ] && install -D -m0755 "${srcdir}/usr/lib32/libfreetype.so.6.14.0" "${pkgdir}/opt/teamviewer/tv_bin/wine/lib/libfreetype.so.6"
|
|
|
|
[ -e "${srcdir}/usr/lib/libfreetype.so.6.14.0" ] && install -D -m0755 "${srcdir}/usr/lib/libfreetype.so.6.14.0" "${pkgdir}/opt/teamviewer/tv_bin/wine/lib/libfreetype.so.6"
|
2015-06-08 03:58:09 -07:00
|
|
|
|
2015-12-02 16:13:37 -08:00
|
|
|
# Additional files
|
|
|
|
rm "${pkgdir}"/opt/teamviewer/tv_bin/xdg-utils/xdg-email
|
|
|
|
install -D -m0644 "${pkgdir}"/opt/teamviewer/tv_bin/script/teamviewerd.service \
|
|
|
|
"${pkgdir}"/usr/lib/systemd/system/teamviewerd.service
|
|
|
|
install -d -m0755 "${pkgdir}"/usr/{share/applications,share/licenses/teamviewer}
|
|
|
|
ln -s /opt/teamviewer/License.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/teamviewer/LICENSE
|
2015-06-08 03:58:09 -07:00
|
|
|
}
|