Want more features on Pastebin? Sign Up, it's FREE!
Guest

Opera Next 12.00 Alpha

By: a guest on Oct 13th, 2011  |  syntax: Bash  |  size: 2.02 KB  |  views: 35  |  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: RobertMe
  3. # Contributor: BlackEagle
  4. # Contributor: Skunnyk
  5. # Contributor: totoloco
  6. pkgname=opera-next # Set to opera if you want to replace your main/stable build
  7. _bigrelease=12.00
  8. _buildver=1105
  9. _randomizer=alpha
  10. pkgver=${_bigrelease}_${_buildver}
  11. pkgrel=1
  12. pkgdesc="A fast and secure web browser and Internet suite. Alpha version."
  13. url="http://my.opera.com/desktopteam/blog/"
  14. depends=('gcc-libs' 'libxt' 'freetype2' 'libxext')
  15. replaces=('opera-devel')
  16. optdepends=('gtk2: GTK integration'
  17.             'kdebase-runtime: KDE4+ integration'
  18.             'gstreamer0.10-base-plugins: HTML5 open codecs support'
  19.             'gstreamer0.10-good: HTML5 open codecs support'
  20.             'gstreamer0.10-ffmpeg: HTML5 not so open codecs support'
  21.             'gstreamer0.10-bad-plugins: HTML5 not so open codecs support')
  22. install=opera-next.install
  23. options=(!strip !zipman)
  24. license=('custom:opera')
  25. arch=('i686' 'x86_64')
  26. _arch=i386
  27. [ "$CARCH" = "x86_64" ] && _arch=x86_64
  28. source=(http://snapshot.opera.com/unix/${_randomizer}_${_bigrelease}-${_buildver}/opera-next-${_bigrelease}-${_buildver}.${_arch}.linux.tar.xz)
  29. md5sums=('5aeed8e165fa3ec0bfc538454bde2f27')
  30. [ "$CARCH" = "x86_64" ] && md5sums=('c8371bc85b3baef0f2cab8b92d159c93')
  31.  
  32. # Uncomment the following line, if you want your User Agent to include Arch Linux.
  33. #_opdistro="Arch Linux"
  34.  
  35. package() {
  36.  
  37.         # 'Install' Opera into $pkgdir
  38.         opera-next-${_bigrelease}-${_buildver}.${_arch}.linux/install --prefix /usr --name ${pkgname} --repackage "${pkgdir}/usr"
  39.         install -D -m 644 "${pkgdir}/usr/share/${pkgname}/defaults/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
  40.  
  41.         # Insert an Arch User Agent string if set
  42.         if [ -n "${_opdistro}" ]
  43.         then
  44.                 mkdir -p "${pkgdir}/usr/share/${pkgname}/custom/defaults"
  45.                 echo "[ISP]" > "${pkgdir}/usr/share/${pkgname}/custom/defaults/operaprefs.ini"
  46.                 echo "Id=${_opdistro}" >> "${pkgdir}/usr/share/${pkgname}/custom/defaults/operaprefs.ini"
  47.                 chmod 644 "${pkgdir}/usr/share/${pkgname}/custom/defaults/operaprefs.ini"
  48.         fi
  49. }
  50.  
  51.  
clone this paste RAW Paste Data