4 pkgdesc="Opera Mobile emulator is the desktop version of Opera's smart phone browser"
5 url="http://www.opera.com"
6 license=('custom:opera')
8 depends=('gtk2' 'qt' 'freetype2')
9 [[ $CARCH == "x86_64" ]] && depends=('lib32-gtk2' 'lib32-qt' 'lib32-freetype2')
10 source=(http://get.opera.com/pub/opera/sdlbream/1150/Opera_Mobile_Emulator_11.5_Linux_i386.deb)
11 md5sums=('5979c8c14a71fc25911e16bf3effa37f')
15 ar p Opera_Mobile_Emulator_11.5_Linux_i386.deb data.tar.gz | tar zx
16 rm -rf $srcdir/usr/share/doc/
17 sed -i '/NoDisplay/d' $srcdir/usr/share/applications/operamobile.desktop
21 cp -r $srcdir/usr $pkgdir/
22 find $pkgdir/usr -type f -exec chmod 0644 {} ';'
23 chmod 755 $pkgdir/usr/bin/omlauncher
24 chmod 755 $pkgdir/usr/bin/operamobile