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
							 | 
						
					
						
							
								
									
										
										
										
											2016-12-05 09:55:37 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								pkgver=12.0.71510
							 | 
						
					
						
							
								
									
										
										
										
											2016-12-06 14:05:10 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								pkgrel=6
							 | 
						
					
						
							
								
									
										
										
										
											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=(
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									'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'
							 | 
						
					
						
							
								
									
										
										
										
											2016-06-28 04:24:24 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  'libxtst')
							 | 
						
					
						
							
								
									
										
										
										
											2015-12-02 16:13:37 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								depends_i686=(
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									'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'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  'libxtst')
							 | 
						
					
						
							
								
									
										
										
										
											2015-12-02 16:13:37 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								install=teamviewer.install
							 | 
						
					
						
							
								
									
										
										
										
											2016-01-27 04:12:49 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								source_x86_64=("https://download.teamviewer.com/download/version_${pkgver%%.*}x/teamviewer_${pkgver}_amd64.deb")
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								source_i686=("https://download.teamviewer.com/download/version_${pkgver%%.*}x/teamviewer_${pkgver}_i386.deb")
							 | 
						
					
						
							
								
									
										
										
										
											2016-12-05 09:55:37 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								sha512sums_i686=('edc1e5823939f20a9879bd29d952a728275f5f190ad434b95e71e886086b8aca407749d5671284cec9b20007aaa4b5907c84a83cc4921f9f715738cd33c704db')
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								sha512sums_x86_64=('543826bce6e973cc7100d6107ff57a289222376f5df32b15d162fae9136cb82e3029bbe7f1da807b2148a834fc8e9a3013d2fb4e81a2c5beda5fc7bdb3c7ac16')
							 | 
						
					
						
							
								
									
										
										
										
											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"
							 | 
						
					
						
							
								
									
										
										
										
											2015-12-03 13:52:16 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									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"
							 | 
						
					
						
							
								
									
										
										
										
											2015-12-02 16:13:37 -08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									cp -dr --no-preserve=ownership {etc,opt,usr,var} "${pkgdir}"/
							 | 
						
					
						
							
								
									
										
										
										
											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
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 |