Commit 99a59424 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update chrome from 88.0.4324.182 to 89.0.4389.114 (#5537)

parent 8271e856
......@@ -3,35 +3,28 @@ require 'package'
class Chrome < Package
description 'Google Chrome is a fast, easy to use, and secure web browser.'
homepage 'https://www.google.com/chrome'
@_ver = '88.0.4324.182'
@_ver = '89.0.4389.114'
@_deb = "google-chrome-stable_#{@_ver}-1_amd64.deb"
version @_ver
license 'google-chrome'
compatibility 'x86_64'
source_url "https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/#{@_deb}"
source_sha256 '0ab92895e8b1b93a8d2591e0f89b32554af2ffc5a6f2bf9c1860a4ecb7a78b1b'
if ARCH == 'x86_64' then
depends_on 'nspr'
depends_on 'cairo'
depends_on 'gtk3'
depends_on 'expat'
depends_on 'cras'
depends_on 'sommelier'
source_url "https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/#{@_deb}"
source_sha256 'ab00e9412f5f20e30c7db5dc987473248f4adf9ebf2c3f928ef62e1ffb104fe6'
end
depends_on 'nspr'
depends_on 'cairo'
depends_on 'gtk3'
depends_on 'expat'
depends_on 'cras'
depends_on 'sommelier'
def self.install
ENV['CREW_NOT_STRIP'] = '1'
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mv Dir.glob('usr/share/*'), './'
FileUtils.mv Dir.glob('opt/google/chrome/*'), './'
FileUtils.rm_rf ['usr', 'opt']
FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", '#{CREW_DEST_PREFIX}/bin/google-chrome-stable'
FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", '#{CREW_DEST_PREFIX}/bin/google-chrome'
FileUtils.mv 'usr/share', CREW_DEST_PREFIX
FileUtils.mv 'opt/google/chrome', "#{CREW_DEST_PREFIX}/share"
FileUtils.mv Dir.glob('*'), "#{CREW_DEST_PREFIX}/share"
FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", "#{CREW_DEST_PREFIX}/bin/google-chrome-stable"
FileUtils.ln_s "#{CREW_PREFIX}/share/chrome/google-chrome", "#{CREW_DEST_PREFIX}/bin/google-chrome"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment