Advertisement
Guest User

Untitled

a guest
May 10th, 2018
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. #Maintainer: danyf90 <daniele.formichelli@gmail.com>
  2. #Co-Maintainer: syncrtl64 <syncrtl64@gmail.com>
  3. #Contributor: Andrea Cattaneo <andrea.cattaneo.dev@gmail.com>
  4. #Contributor: Vitor Rodrigues <vitorrodrigues.aur@gmail.com>
  5.  
  6. pkgname=genymotion
  7. pkgver=2.12.1
  8. pkgrel=1
  9. pkgdesc="Complete set of tools that provides a virtual environment for Android."
  10. arch=('x86_64')
  11. url="http://www.genymotion.com/"
  12. depends=('libpng' 'net-tools' 'protobuf' 'qca-qt5' 'qt5-script' 'qt5-webkit' 'virtualbox')
  13. install=$pkgname.install
  14. license=('custom')
  15. _ARCH="x64"
  16. source=("genymotion.desktop"
  17. "genymotion-player.desktop"
  18. "https://dl.genymotion.com/releases/genymotion-$pkgver/$pkgname-${pkgver}-linux_$_ARCH.bin")
  19. sha512sums=('48e9bafe1d64b688c51eceb8d129f44d690060ff9a6d82eefcf3295f7834516ce62439faf4f4454287f594fc410aafbafd30a43537ea3d295c42bee8e4e03ac7'
  20. 'fabbccd65c22c2dc26b32a847c9fa81d4b7d3e2a13e976cd01c1517654e4bd7e4eac485152dbe8e97b1953ffda62f40e99223a76d24f0c8dfc6530fe3908b665'
  21. 'f932018b5ac110f70f383bd0bd78146fa0fec573423906f4fa31dab3479fd04f8bd4348c68ac19de400eee77ba649bb8a267d7c8dc679a269b70b2f5f2b7e5e3')
  22.  
  23. package(){
  24. cd $srcdir
  25.  
  26. install -d $pkgdir/opt
  27. yes | bash ./$pkgname-${pkgver}-linux_$_ARCH.bin -d $pkgdir/opt
  28.  
  29. install -d $pkgdir/usr/bin
  30. ln -s /opt/genymotion/genymotion $pkgdir/usr/bin/genymotion
  31. ln -s /opt/genymotion/genymotion-shell $pkgdir/usr/bin/genymotion-shell
  32. ln -s /opt/genymotion/player $pkgdir/usr/bin/genymotion-player
  33. ln -s /opt/genymotion/gmtool $pkgdir/usr/bin/gmtool
  34. install -Dm644 $srcdir/genymotion.desktop $pkgdir/usr/share/applications/genymotion.desktop
  35. install -Dm644 $srcdir/genymotion-player.desktop $pkgdir/usr/share/applications/genymotion-player.desktop
  36. chown -R root:root $pkgdir/opt/genymotion
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement