From 4406d8479504621c8c83540641947844eb8ad59a Mon Sep 17 00:00:00 2001 From: Alex Taber Date: Wed, 2 Dec 2015 17:00:43 -0500 Subject: [PATCH] Upgrading should now work. --- .SRCINFO | 2 +- PKGBUILD | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c0f703b..2e9df22 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = teamviewer pkgdesc = All-In-One Software for Remote Support and Online Meetings pkgver = 11.0.52520 - pkgrel = 1.2 + pkgrel = 1.3 url = http://www.teamviewer.com install = teamviewer.install arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 1831a26..5339802 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,11 +1,9 @@ # Maintainer: Yakir Sitbon -# Contributor: Alucryd -# Contributor: Stas S -# Contributor: Hilinus +# Contributor: Alex Taber pkgname=teamviewer pkgver=11.0.52520 -pkgrel=1.1 +pkgrel=2 pkgdesc="All-In-One Software for Remote Support and Online Meetings" arch=('i686' 'x86_64') url="http://www.teamviewer.com" @@ -33,6 +31,16 @@ package() { cd "${srcdir}" # Install + if [ -f /opt/teamviewer/logfiles ] + then + rm opt/teamviewer/logfiles + fi + + if [ -f /opt/teamviewer/config ] + then + rm opt/teamviewer/config + fi + cp -dr --no-preserve=ownership {etc,opt,usr,var} "${pkgdir}"/ # Additional files