Changed dependencies in order to reflect proper version.
This commit is contained in:
parent
74a417f25e
commit
e1d7ebfb3a
27
.SRCINFO
27
.SRCINFO
|
@ -1,22 +1,29 @@
|
||||||
pkgbase = teamviewer
|
pkgbase = teamviewer
|
||||||
pkgdesc = All-In-One Software for Remote Support and Online Meetings
|
pkgdesc = All-In-One Software for Remote Support and Online Meetings
|
||||||
pkgver = 11.0.52520
|
pkgver = 11.0.52520
|
||||||
pkgrel = 1.2
|
pkgrel = 1
|
||||||
url = http://www.teamviewer.com
|
url = http://www.teamviewer.com
|
||||||
install = teamviewer.install
|
install = teamviewer.install
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
depends = alsa-lib
|
provides = teamviewer
|
||||||
depends = gcc-libs
|
conflicts = teamviewer
|
||||||
depends = libxdamage
|
|
||||||
depends = libxtst
|
|
||||||
depends = zlib
|
|
||||||
depends = freetype2
|
|
||||||
depends = libxrandr
|
|
||||||
depends = libice
|
|
||||||
depends = libsm
|
|
||||||
options = !strip
|
options = !strip
|
||||||
|
source_i686 = http://download.teamviewer.com/download/version_11x/teamviewer_11.0.52520_i386.deb
|
||||||
|
depends_i686 = fontconfig
|
||||||
|
depends_i686 = libpng12
|
||||||
|
depends_i686 = libsm
|
||||||
|
depends_i686 = libxinerama
|
||||||
|
depends_i686 = libxrender
|
||||||
|
sha256sums_i686 = 66f2444b660b87f2fdc1d19949b94bbd840982d51c3405e4a53799cd6a6c6090
|
||||||
|
source_x86_64 = http://download.teamviewer.com/download/version_11x/teamviewer_11.0.52520_amd64.deb
|
||||||
|
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
|
||||||
|
sha256sums_x86_64 = d862fe3f26bf05e7b7f5fd5972873b5d859e40059c7f41783865594fc58d38fd
|
||||||
|
|
||||||
pkgname = teamviewer
|
pkgname = teamviewer
|
||||||
|
|
||||||
|
|
69
PKGBUILD
69
PKGBUILD
|
@ -1,45 +1,48 @@
|
||||||
# Maintainer: Yakir Sitbon <kingyes1 at gmail dot com>
|
# Maintainer: Alex Taber <aft dot pokemon at gmail dot com>
|
||||||
# Contributor: Alucryd <alucryd at gmail dot com>
|
|
||||||
# Contributor: Stas S <whats_up at tut dot by>
|
|
||||||
# Contributor: Hilinus <itahilinus at hotmail dot it>
|
|
||||||
|
|
||||||
pkgname=teamviewer
|
pkgname=teamviewer
|
||||||
pkgver=11.0.52520
|
pkgver=11.0.52520
|
||||||
pkgrel=1.1
|
pkgrel=1.3
|
||||||
pkgdesc="All-In-One Software for Remote Support and Online Meetings"
|
pkgdesc='All-In-One Software for Remote Support and Online Meetings'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.teamviewer.com"
|
url='http://www.teamviewer.com'
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('alsa-lib' 'gcc-libs' 'libxdamage' 'libxtst' 'zlib' 'freetype2' 'libxrandr' 'libice' 'libsm')
|
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
install=${pkgname}.install
|
provides=('teamviewer')
|
||||||
|
conflicts=('teamviewer')
|
||||||
|
depends_x86_64=(
|
||||||
|
'lib32-fontconfig'
|
||||||
|
'lib32-libpng12'
|
||||||
|
'lib32-libsm'
|
||||||
|
'lib32-libxinerama'
|
||||||
|
'lib32-libxrender')
|
||||||
|
depends_i686=(
|
||||||
|
'fontconfig'
|
||||||
|
'libpng12'
|
||||||
|
'libsm'
|
||||||
|
'libxinerama'
|
||||||
|
'libxrender')
|
||||||
|
install=teamviewer.install
|
||||||
|
source_x86_64=("http://download.teamviewer.com/download/version_${pkgver%%.*}x/teamviewer_${pkgver}_amd64.deb")
|
||||||
|
source_i686=("http://download.teamviewer.com/download/version_${pkgver%%.*}x/teamviewer_${pkgver}_i386.deb")
|
||||||
|
sha256sums_x86_64=('d862fe3f26bf05e7b7f5fd5972873b5d859e40059c7f41783865594fc58d38fd')
|
||||||
|
sha256sums_i686=('66f2444b660b87f2fdc1d19949b94bbd840982d51c3405e4a53799cd6a6c6090')
|
||||||
|
|
||||||
if [[ $CARCH == 'i686' ]]; then
|
prepare() {
|
||||||
source=("teamviewer_linux-${pkgver}.deb::http://download.teamviewer.com/download/teamviewer_i386.deb")
|
tar -xf data.tar.bz2
|
||||||
md5sums=('69520c11b4db8700617b5344cb8d4daa')
|
|
||||||
depends+=('alsa-lib' 'gcc-libs' 'libxdamage' 'libxtst' 'zlib' 'freetype2' 'libxrandr' 'libice' 'libsm')
|
|
||||||
elif [[ $CARCH == 'x86_64' ]]; then
|
|
||||||
source=("teamviewer_linux_x64-${pkgver}.deb::http://download.teamviewer.com/download/teamviewer_amd64.deb")
|
|
||||||
md5sums=('233d98a671d9ae6376c7265a3db2031f')
|
|
||||||
depends+=('lib32-gcc-libs' 'lib32-alsa-lib' 'lib32-libxtst' 'lib32-libxdamage' 'lib32-zlib' 'lib32-freetype2' 'lib32-libxrandr' 'lib32-libice' 'lib32-libsm' 'lib32-libxinerama')
|
|
||||||
fi
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${srcdir}"
|
|
||||||
tar -jxf data.tar.bz2
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}"
|
# Install
|
||||||
|
cp -dr --no-preserve=ownership {etc,opt,usr,var} "${pkgdir}"/
|
||||||
|
|
||||||
# Install
|
# Additional files
|
||||||
cp -dr --no-preserve=ownership {etc,opt,usr,var} "${pkgdir}"/
|
rm "${pkgdir}"/opt/teamviewer/tv_bin/xdg-utils/xdg-email
|
||||||
|
install -D -m0644 "${pkgdir}"/opt/teamviewer/tv_bin/script/teamviewerd.service \
|
||||||
# Additional files
|
"${pkgdir}"/usr/lib/systemd/system/teamviewerd.service
|
||||||
rm "${pkgdir}"/opt/teamviewer/tv_bin/xdg-utils/xdg-email
|
install -d -m0755 "${pkgdir}"/usr/{share/applications,share/licenses/teamviewer}
|
||||||
install -dm 755 "${pkgdir}"/usr/{lib/systemd/system,share/applications,share/licenses/teamviewer}
|
ln -s /opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer${pkgver%%.*}.desktop \
|
||||||
install -m 644 "${pkgdir}"/opt/teamviewer/tv_bin/script/teamviewerd.service "${pkgdir}"/usr/lib/systemd/system/teamviewerd.service
|
"${pkgdir}"/usr/share/applications/teamviewer.desktop
|
||||||
ln -s /opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer10.desktop "${pkgdir}"/usr/share/applications/teamviewer.desktop
|
ln -s /opt/teamviewer/License.txt \
|
||||||
ln -s /opt/teamviewer/License.txt "${pkgdir}"/usr/share/licenses/teamviewer/LICENSE
|
"${pkgdir}"/usr/share/licenses/teamviewer/LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user