Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
99a59424
Commit
99a59424
authored
Apr 04, 2021
by
Ed Reel
Committed by
GitHub
Apr 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update chrome from 88.0.4324.182 to 89.0.4389.114 (#5537)
parent
8271e856
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
20 deletions
+13
-20
packages/chrome.rb
packages/chrome.rb
+13
-20
No files found.
packages/chrome.rb
View file @
99a59424
...
@@ -3,35 +3,28 @@ require 'package'
...
@@ -3,35 +3,28 @@ require 'package'
class
Chrome
<
Package
class
Chrome
<
Package
description
'Google Chrome is a fast, easy to use, and secure web browser.'
description
'Google Chrome is a fast, easy to use, and secure web browser.'
homepage
'https://www.google.com/chrome'
homepage
'https://www.google.com/chrome'
@_ver
=
'8
8.0.4324.182
'
@_ver
=
'8
9.0.4389.114
'
@_deb
=
"google-chrome-stable_
#{
@_ver
}
-1_amd64.deb"
@_deb
=
"google-chrome-stable_
#{
@_ver
}
-1_amd64.deb"
version
@_ver
version
@_ver
license
'google-chrome'
license
'google-chrome'
compatibility
'x86_64'
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
'nspr'
depends_on
'cairo'
depends_on
'cairo'
depends_on
'gtk3'
depends_on
'gtk3'
depends_on
'expat'
depends_on
'expat'
depends_on
'cras'
depends_on
'cras'
depends_on
'sommelier'
depends_on
'sommelier'
source_url
"https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/
#{
@_deb
}
"
source_sha256
'ab00e9412f5f20e30c7db5dc987473248f4adf9ebf2c3f928ef62e1ffb104fe6'
end
def
self
.
install
def
self
.
install
ENV
[
'CREW_NOT_STRIP'
]
=
'1'
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mv
Dir
.
glob
(
'usr/share/*'
),
'./'
FileUtils
.
mv
'usr/share'
,
CREW_DEST_PREFIX
FileUtils
.
mv
Dir
.
glob
(
'opt/google/chrome/*'
),
'./'
FileUtils
.
mv
'opt/google/chrome'
,
"
#{
CREW_DEST_PREFIX
}
/share"
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
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
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment