1. ilkatta
  2. aur-genymotion

Commits

ilkatta  committed 8f18968

v2.1.0-1

  • Participants
  • Parent commits ac5ba85
  • Branches master

Comments (0)

Files changed (3)

File PKGBUILD

View file
  • Ignore whitespace
 
 pkgname=genymotion
 
-pkgver=2.0.3
+pkgver=2.1.0
 
-pkgrel=2
+pkgrel=1
 
-pkgdesc="Genymotion is a complete set of tools that provides a virtual environment for Android."
+pkgdesc="Complete set of tools that provides a virtual environment for Android."
 
 arch=('i686' 'x86_64')
 
 license="UNKNOWN"
 
-md5sums=('56990793bebece8bd7130c4d748277f5')
+md5sums=('0ac807771b201b54027dcd44e8b10195')
 
 if test "$CARCH" == x86_64; then
-	_ARCH="x64"
-	md5sums+=('be204ae01208947f02999b4081a2d021')
+    _ARCH="x64"
+    md5sums+=('7a89dd4c13f4a75178049402eba93f21')
 else
-	_ARCH="x86"
-	md5sums+=('bc860fe271c25a1918e13b59f47f447c')
+    _ARCH="x86"
+    md5sums+=('2e49c1e4bff9e75d9b180f19abc71600')
 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' )
+depends=('virtualbox>=4.1.1' 'qtwebkit' 'libpng12' 'net-tools' 'qca' 'ffmpeg-compat' 'protobuf')
 
 optdepends=('android-sdk: for developers')
 
 install=genymotion.install
-
-source=("genymotion.desktop" "https://ssl-files.genymotion.com/genymotion/genymotion-${pkgver}/genymotion-${pkgver}_${_ARCH}.bin")
+source=("genymotion.desktop" "http://files2.genymotion.com/genymotion/genymotion-${pkgver}/genymotion-${pkgver}_${_ARCH}.bin")
 
 build() {
-  cd $srcdir
-  chmod +x ${pkgname}-${pkgver}_${_ARCH}.bin
+    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"
+    cd $pkgdir
+    install -d "$pkgdir/usr"
+    yes | ${srcdir}/${pkgname}-${pkgver}_${_ARCH}.bin -d $pkgdir/usr/ &>/dev/null
+    rm usr/genymotion/libQt*
+    install -d "$pkgdir/usr/bin/"
+    ln -s /usr/genymotion/genymotion $pkgdir/usr/bin/genymotion
+    ln -s /usr/genymotion/genymotion-shell $pkgdir/usr/bin/genymotion-shell
+    install -Dm644 "$srcdir/genymotion.desktop" "$pkgdir/usr/share/applications/genymotion.desktop"
+    chown -R root:root $pkgdir/usr/genymotion
 }

File genymotion.desktop

View file
  • Ignore whitespace
 [Desktop Entry]
 Type=Application
-Version=2.0.3
+Version=2.1.0
 Name=Genymotion
 Comment=Virtual environment for Android.
 Exec=/usr/bin/genymotion

File genymotion.install

View file
  • Ignore whitespace
 update-icon(){
-	xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+    xdg-icon-resource forceupdate --theme hicolor &>/dev/null
     update-desktop-database -q
 }
 
 adv(){
-	echo -e "make sure to have this modules loaded: \n\tvboxdrv\n\tvboxnetflt\n\tvboxnetadp\n\tvboxpci"
-	echo "you can simply add them to /etc/modules-load.d/virtualbox.conf with this command:"
-	echo "# echo -e \"vboxdrv\\\nvboxnetflt\\\nvboxnetadp\\\nvboxpci\" > /etc/modules-load.d/virtualbox.conf"
+    echo -e "make sure to have this modules loaded: \n\tvboxdrv\n\tvboxnetflt\n\tvboxnetadp\n\tvboxpci"
+    echo "you can simply add them to /etc/modules-load.d/virtualbox.conf with this command:"
+    echo "# echo -e \"vboxdrv\\nvboxnetflt\\nvboxnetadp\\nvboxpci\" > /etc/modules-load.d/virtualbox.conf"
 }
 
 remove_slink(){
-	# in previous version install script created symbolic links
-	[[ -s /usr/local/bin/genymotion ]] && rm /usr/local/bin/genymotion
-	[[ -s /usr/local/bin/genymotion-shell ]] && rm /usr/local/bin/genymotion-shell
+    # in previous version install script created symbolic links
+    [[ -s /usr/local/bin/genymotion ]] && rm /usr/local/bin/genymotion
+    [[ -s /usr/local/bin/genymotion-shell ]] && rm /usr/local/bin/genymotion-shell
 }
 
 post_install() {
-	update-icon
-	adv
+    update-icon
+    adv
 }
 
 post_upgrade() {
-	remove_slink
+    remove_slink
     update-icon
     adv
 }
 
 post_remove() {
-	remove_slink
+    remove_slink
     update-icon
 }