Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=teamviewer
- pkgver=7.0.9300
- pkgrel=1
- pkgdesc="All-in-one solution for accessing PC's using the internet"
- arch=('i686' 'x86_64')
- url="http://www.teamviewer.com"
- license="nonfree"
- makedepends=('binutils')
- if [ $CARCH == 'i686' ]; then
- source=("http://www.teamviewer.com/download/version_7x/teamviewer_linux.deb" "teamviewer.desktop")
- md5sums=('01d9daf4e2d59d5c68d24729f79a597b' 'c1fb39cfbec9cc26f6b40727294e4fda')
- depends=('libsm' 'libxext' 'freetype2' 'libxtst')
- elif [ $CARCH == 'x86_64' ]; then
- source=("http://www.teamviewer.com/download/version_7x/teamviewer_linux_x64.deb" "teamviewer.desktop")
- md5sums=('fad31b02c6474be2c3d9f98c875a01a3' 'c1fb39cfbec9cc26f6b40727294e4fda')
- depends=('lib32-libsm' 'lib32-libxext' 'lib32-glibc' 'lib32-freetype2' 'lib32-gcc-libs' \
- 'lib32-alsa-lib' 'lib32-libx11' 'lib32-libxtst' 'lib32-libxdamage' 'lib32-libxfixes' \
- 'lib32-libxcb' 'lib32-libxi' 'lib32-libxau' 'lib32-libxdmcp')
- fi
- package() {
- cd $srcdir
- ar x ${pkgname}_linux*
- tar xvf data.tar.gz
- cp -R opt $pkgdir
- cp -R usr $pkgdir
- mkdir -p $pkgdir/usr/share/applications
- install -Dm644 $startdir/teamviewer.desktop $pkgdir/usr/share/applications/teamviewer.desktop
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement