This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

opera-rc 10.63 rc2

By: a guest on Oct 8th, 2010  |  syntax: Bash  |  size: 1.77 KB  |  views: 42  |  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. # Maintainer: ruario
  2. # Contributor: BlackEagle
  3. pkgname=opera-rc
  4. _bigrelease=10.63
  5. _buildver=6450
  6. _rclevel=2
  7. _randomizer=almostthere
  8. pkgver=${_bigrelease}rc${_rclevel}
  9. pkgrel=1
  10. pkgdesc="A fast and secure web browser and Internet suite. Release Candidate version."
  11. url="http://my.opera.com/desktopteam/blog/"
  12. depends=('gcc-libs' 'libxt' 'freetype2' 'libxext')
  13. makedepends=('libarchive')
  14. optdepends=('gtk2: GTK integration'
  15.             'kdebase-runtime: KDE4 integration'
  16.                 'gstreamer0.10-base-plugins: HTML5 open codecs support'
  17.                 'gstreamer0.10-good: HTML5 open codecs support'
  18.                 'gstreamer0.10-ffmpeg: HTML5 not so open codecs support'
  19.                 'gstreamer0.10-bad-plugins: HTML5 not so open codecs support')
  20. install=${pkgname}.install
  21. options=(!strip !zipman)
  22. license=('custom:opera')
  23. arch=('i686' 'x86_64')
  24. provides=('opera')
  25. conflicts=('opera' 'opera-beta')
  26. #source=(
  27. #"http://snapshot.opera.com/unix/${_randomizer}_${_bigrelease}-${_buildver}/opera-${_bigrelease}-${_buildver}.i386.rpm"
  28. #"http://snapshot.opera.com/unix/${_randomizer}_${_bigrelease}-${_buildver}/opera-${_bigrelease}-${_buildver}.x86_64.rpm"
  29. #)
  30. _arch=i386
  31. [ "$CARCH" = "x86_64" ] && _arch=x86_64
  32. source=(http://snapshot.opera.com/unix/${_randomizer}_${_bigrelease}-${_buildver}/opera-${_bigrelease}-${_buildver}.${_arch}.rpm)
  33. sha256sums=('d4fd55b6e7255543cf1ff4185fbba2ee52d3014b2efe6eaaf0ea202dcec6e073')
  34. [ "$CARCH" = "x86_64" ] && sha256sums=('6eced876b42db6b7c0f9519359cf472e357f2fae7460d28e6ebd4635b32b973e')
  35.  
  36. build() {
  37.         cd ${pkgdir}
  38.         bsdcpio -id < ${srcdir}/opera-${_bigrelease}-${_buildver}.${_arch}.rpm
  39.         sed -i usr/share/opera/package-id.ini -e "s|\(Package Type=\)rpm|\1tar|"
  40.         install -D -m 644 usr/share/opera/defaults/license.txt usr/share/licenses/${pkgname}/license.txt
  41. }
clone this paste RAW Paste Data