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
877f9438
Commit
877f9438
authored
Nov 25, 2019
by
Ed Reel
Committed by
Chris Thurber
Nov 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add firefox package (#3665)
parent
7e313cbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
packages/firefox.rb
packages/firefox.rb
+30
-0
No files found.
packages/firefox.rb
0 → 100644
View file @
877f9438
require
'package'
class
Firefox
<
Package
description
'Mozilla Firefox (or simply Firefox) is a free and open-source web browser'
homepage
'https://www.mozilla.org/en-US/firefox/'
version
'70.0.1'
case
ARCH
when
'x86_64'
source_url
'https://archive.mozilla.org/pub/firefox/releases/70.0.1/linux-x86_64/en-US/firefox-70.0.1.tar.bz2'
source_sha256
'bc1ef29799f15d1fe709a430203d16c12d5ae0899f1c01ba4461062392a2e77e'
when
'i686'
source_url
'https://archive.mozilla.org/pub/firefox/releases/70.0.1/linux-i686/en-US/firefox-70.0.1.tar.bz2'
source_sha256
'4981bae093177f3ae705bbf9119a2e9149dbfa3d931157a724fb1b294c099811'
end
depends_on
'gtk3'
depends_on
'sommelier'
def
self
.
build
system
"echo '#!/bin/bash' > firefox.sh"
system
"echo 'cd
#{
CREW_PREFIX
}
/share/firefox' >> firefox.sh"
system
"echo './firefox
\"\$
@
\"
' >> firefox.sh"
end
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/firefox"
FileUtils
.
cp_r
Dir
.
glob
(
'*'
),
"
#{
CREW_DEST_PREFIX
}
/share/firefox"
system
"install -Dm755 firefox.sh
#{
CREW_DEST_PREFIX
}
/bin/firefox"
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