Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=teamviewer
- pkgver=7.0.9377
- 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=("teamviewer_linux-${pkgver}.deb::http://www.teamviewer.com/download/version_7x/teamviewer_linux.deb")
- md5sums=('ab13157b1f68234e1887332cda93786a')
- depends=('libsm' 'libxext' 'freetype2' 'libxtst')
- elif [ $CARCH == 'x86_64' ]; then
- source=("teamviewer_linux_x64-${pkgver}.deb::http://www.teamviewer.com/download/version_7x/teamviewer_linux_x64.deb")
- md5sums=('bb63d2bd4879fc8956b754b227402a66')
- 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
- [ $CARCH == "i686" ] && ar x ${pkgname}_linux-${pkgver}*
- [ $CARCH == "x86_64" ] && ar x ${pkgname}_linux_x64-${pkgver}*
- tar xvf data.tar.gz
- cp -R opt $pkgdir
- cp -R usr $pkgdir
- mkdir -p $pkgdir/usr/share/applications
- echo "[Desktop Entry]
- Version=1.0
- Encoding=UTF-8
- Name=TeamViewer 7
- Comment=TeamViewer Remote Control Application
- Exec=teamviewer7
- Icon=/opt/teamviewer/teamviewer/7/desktop/teamviewer.png
- Type=Application
- Categories=Network;
- " > $pkgdir/usr/share/applications/teamviewer.desktop
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement