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
Łukasz Nowak
chromebrew
Commits
6ff84769
Commit
6ff84769
authored
May 07, 2020
by
Ed Reel
Committed by
GitHub
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add brave package (#4041)
parent
3f70ddf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
packages/brave.rb
packages/brave.rb
+23
-0
No files found.
packages/brave.rb
0 → 100644
View file @
6ff84769
require
'package'
class
Brave
<
Package
description
'Next generation Brave browser for macOS, Windows, Linux, Android.'
homepage
'https://brave.com/'
version
'81.1.10.36'
case
ARCH
when
'x86_64'
source_url
'https://github.com/brave/brave-browser/releases/download/v1.10.36/brave-v1.10.36-linux-x64.zip'
source_sha256
'b8e5de4ffd454b171a10e9be260523d414b32e45c05524b2bd8b4b9a96640251'
end
depends_on
'gtk3'
depends_on
'xdg_base'
depends_on
'sommelier'
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/brave"
FileUtils
.
cp_r
'.'
,
"
#{
CREW_DEST_PREFIX
}
/share/brave"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/share/brave/brave"
,
"
#{
CREW_DEST_PREFIX
}
/bin/brave"
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