Source

aur-genymotion / PKGBUILD

Full commit
ilkatta 7d011be 



ilkatta ac5ba85 
ilkatta 7d011be 
ilkatta 631c114 
ilkatta 7d011be 






ilkatta ac5ba85 
ilkatta 2516689 
ilkatta 7d011be 

ilkatta ac5ba85 
ilkatta 7d011be 

ilkatta ac5ba85 
ilkatta 7d011be 



ilkatta 631c114 
ilkatta 7d011be 




ilkatta 83678b7 
ilkatta 7d011be 

ilkatta 59e0105 
ilkatta 7d011be 

ilkatta ac5ba85 
ilkatta 7d011be 
ilkatta 59e0105 
ilkatta ef6fd63 
ilkatta ac5ba85 
ilkatta d1fa5ee 
ilkatta 59e0105 

ilkatta ac5ba85 
ilkatta 7d011be 
# Maintainer: Andrea Cattaneo <andrea.cattaneo.dev@gmail.com>

pkgname=genymotion

pkgver=2.0.3

pkgrel=2

pkgdesc="Genymotion is a complete set of tools that provides a virtual environment for Android."

arch=('i686' 'x86_64')

license="UNKNOWN"

md5sums=('56990793bebece8bd7130c4d748277f5')

if test "$CARCH" == x86_64; then
	_ARCH="x64"
	md5sums+=('be204ae01208947f02999b4081a2d021')
else
	_ARCH="x86"
	md5sums+=('bc860fe271c25a1918e13b59f47f447c')
fi

url="http://www.genymotion.com/"

depends=('virtualbox>=4.1.1' 'qt4' 'qtwebkit' 'gcc-libs' 'glib2' 'libpng12' 'libsm' 'libxrender' 'fontconfig' 'libx11' 'bzip2' 'expat' 'libxau' 'libxdmcp' 'openssl' 'net-tools' )

optdepends=('android-sdk: for developers')

install=genymotion.install

source=("genymotion.desktop" "https://ssl-files.genymotion.com/genymotion/genymotion-${pkgver}/genymotion-${pkgver}_${_ARCH}.bin")

build() {
  cd $srcdir
  chmod +x ${pkgname}-${pkgver}_${_ARCH}.bin
}

package(){
	cd $pkgdir
	install -d "$pkgdir/opt"
	yes | ${srcdir}/${pkgname}-${pkgver}_${_ARCH}.bin -d $pkgdir/opt/ &>/dev/null
	rm opt/genymotion/libQt*
	install -d "$pkgdir/usr/bin/"
	ln -s /opt/genymotion/genymotion $pkgdir/usr/bin/genymotion
	ln -s /opt/genymotion/genymotion-shell $pkgdir/usr/bin/genymotion-shell
	install -Dm644 "$srcdir/genymotion.desktop" "$pkgdir/usr/share/applications/genymotion.desktop"
}