summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorseenxu2018-04-05 10:26:14 +0200
committerseenxu2018-04-05 10:26:14 +0200
commit6d701cf48d9070aa91175b99b75eba7ad10e4682 (patch)
tree179ddafa428e695566e3608fa3382bb96b590348
downloadaur-6d701cf48d9070aa91175b99b75eba7ad10e4682.tar.gz
split fork teamviewer 12, since with startx teamviewer 13 won't work
-rw-r--r--.SRCINFO42
-rw-r--r--PKGBUILD66
-rw-r--r--teamviewer12.install14
3 files changed, 122 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d0fe137147a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,42 @@
+pkgbase = teamviewer12
+ pkgdesc = All-In-One Software for Remote Support and Online Meetings
+ pkgver = 12.0.90041
+ pkgrel = 0
+ url = http://www.teamviewer.com
+ install = teamviewer12.install
+ arch = i686
+ arch = x86_64
+ license = custom
+ provides = teamviewer12
+ conflicts = teamviewer
+ conflicts = teamviewer-beta
+ options = !strip
+ source_i686 = https://download.teamviewer.com/download/version_12x/teamviewer_12.0.90041_i386.deb
+ source_i686 = https://archive.archlinux.org/packages/f/freetype2/freetype2-2.8-2-i686.pkg.tar.xz
+ depends_i686 = fontconfig
+ depends_i686 = libpng12
+ depends_i686 = libsm
+ depends_i686 = libxinerama
+ depends_i686 = libxrender
+ depends_i686 = libjpeg6-turbo
+ depends_i686 = freetype2
+ depends_i686 = libxtst
+ sha256sums_i686 = 8f2f108d2e303705a55111fd8af6561f25537b017bcc795766d6aba63a32eea5
+ sha256sums_i686 = d33cf8be0c4be1c602d368fb363c9029d87f2bc4fdfcae5063595ac482ca39e8
+ source_x86_64 = https://download.teamviewer.com/download/version_12x/teamviewer_12.0.90041_amd64.deb
+ source_x86_64 = https://archive.archlinux.org/packages/l/lib32-freetype2/lib32-freetype2-2.8-2-x86_64.pkg.tar.xz
+ depends_x86_64 = lib32-fontconfig
+ depends_x86_64 = lib32-libpng12
+ depends_x86_64 = lib32-libsm
+ depends_x86_64 = lib32-libxinerama
+ depends_x86_64 = lib32-libxrender
+ depends_x86_64 = lib32-libjpeg6-turbo
+ depends_x86_64 = lib32-libxtst
+ depends_x86_64 = lib32-freetype2
+ depends_x86_64 = lib32-dbus
+ depends_x86_64 = libxtst
+ sha256sums_x86_64 = a30bfaa0ddfa7f6ab03141f0deb8fd0a26760e1b18ea1cb9e54b5b54bf2c0131
+ sha256sums_x86_64 = 4f39c9bd52579ac5d13980d760a5434fdb0f0638df07d2abca9ea44a779185e3
+
+pkgname = teamviewer12
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fad652b875a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,66 @@
+# Maintainer: Alex Taber <aft dot pokemon at gmail dot com>
+
+pkgname=teamviewer12
+pkgver=12.0.90041
+pkgrel=0
+pkgdesc='All-In-One Software for Remote Support and Online Meetings'
+arch=('i686' 'x86_64')
+url='http://www.teamviewer.com'
+license=('custom')
+options=('!strip')
+provides=('teamviewer12')
+conflicts=('teamviewer' 'teamviewer-beta')
+depends_x86_64=(
+ 'lib32-fontconfig'
+ 'lib32-libpng12'
+ 'lib32-libsm'
+ 'lib32-libxinerama'
+ 'lib32-libxrender'
+ 'lib32-libjpeg6-turbo'
+ 'lib32-libxtst'
+ 'lib32-freetype2'
+ 'lib32-dbus'
+ 'libxtst')
+depends_i686=(
+ 'fontconfig'
+ 'libpng12'
+ 'libsm'
+ 'libxinerama'
+ 'libxrender'
+ 'libjpeg6-turbo'
+ 'freetype2'
+ 'libxtst')
+install=teamviewer12.install
+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")
+sha256sums_i686=('8f2f108d2e303705a55111fd8af6561f25537b017bcc795766d6aba63a32eea5'
+ 'd33cf8be0c4be1c602d368fb363c9029d87f2bc4fdfcae5063595ac482ca39e8')
+sha256sums_x86_64=('a30bfaa0ddfa7f6ab03141f0deb8fd0a26760e1b18ea1cb9e54b5b54bf2c0131'
+ '4f39c9bd52579ac5d13980d760a5434fdb0f0638df07d2abca9ea44a779185e3')
+
+prepare() {
+ warning "If the install fails, you need to uninstall previous major version of Teamviewer"
+ mkdir data
+ cd data
+ tar -xf ../data.tar.bz2
+}
+
+package() {
+ # Install
+ warning "If the install fails, you need to uninstall previous major version of Teamviewer"
+ 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"
+
+ # 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
+}
diff --git a/teamviewer12.install b/teamviewer12.install
new file mode 100644
index 00000000000..832eb3a14c4
--- /dev/null
+++ b/teamviewer12.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo "The Teamviewer daemon must be running for Teamviewer to work."
+ echo "Execute 'sudo systemctl enable teamviewerd' in a terminal."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ rm -rf /opt/teamviewer
+}
+
+# vim: ts=2 sw=2 et: