Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 23rd, 2011  |  syntax: None  |  size: 1.08 KB  |  views: 127  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=opera-mini
  2. pkgver=6.0.24093
  3. pkgrel=1
  4. arch=('any')
  5. pkgdesc="Opera-mini (Mobile Edition)"
  6. url="http://www.opera.com/mini/download"
  7. license=('custom')
  8. depends=('microemulator')
  9. source=('opera-mini.desktop'
  10.         'opera-mini.launcher'
  11.         "http://mini.opera.com/global/opera-mini-$pkgver-advanced-en.jad"
  12.         "http://mini.opera.com/global/opera-mini-$pkgver-advanced-en.jar")
  13. noextract=('opera-mini-$pkgver-advanced-en.jar' 'opera-mini-$pkgver-advanced-en.jad')
  14. md5sums=('8612dee60e9087b69499a3a39e6deacb'
  15.          'c81fdddc2751ba8b34b6037b1df0d56e'
  16.          '100f8a00da512a7d0ee74aa3126a7e2a'
  17.          'c7c15fbcab5dc32891897444fe0a0b3e')
  18.  
  19. build() {
  20.   cd $srcdir
  21.   mkdir -p "$pkgdir"/usr/share/java/microemulator/apps/
  22.   install -Dm644 $srcdir/opera-mini-$pkgver-advanced-en.ja* "$pkgdir"/usr/share/java/microemulator/apps/
  23.   mkdir -p "$pkgdir"/usr/share/applications/
  24.   sed -e "s/latest/$pkgver/" -i $srcdir/opera-mini.launcher
  25.   install -Dm755 $srcdir/opera-mini.launcher "$pkgdir"/usr/bin/opera-mini
  26.   install -Dm644 $srcdir/opera-mini.desktop \
  27.     "$pkgdir"/usr/share/applications/
  28.  
  29. }