updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / opera-mobile / PKGBUILD
blob52e2181e7a3fc4f8dcc98dfa64227b5902de14a8
1 pkgname=opera-mobile
2 pkgver=11.50
3 pkgrel=1
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')
7 arch=('i686' 'x86_64')
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')
13 build() {
14   cd $srcdir
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
19 package() {
20   cd $srcdir
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