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
20dea755
Commit
20dea755
authored
Jun 21, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gdrive package
parent
4f5ed568
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
packages/gdrive.rb
packages/gdrive.rb
+25
-0
No files found.
packages/gdrive.rb
0 → 100644
View file @
20dea755
require
'package'
class
Gdrive
<
Package
version
'2.1.0'
source_url
'https://github.com/prasmussen/gdrive/archive/2.1.0.tar.gz'
source_sha1
'2abfb27e9c0bfa1904bcfb6bd01b32ed6884db75'
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
case
ARCH
when
'x86_64'
system
"curl https://doc-08-48-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/m9i9st4heasc0na51f3bmcjh30abgc22/1498096800000/15876260727594163214/*/0B3X9GlR6EmbnQ0FtZmJJUXEyRTA -o
#{
CREW_DEST_DIR
}
/usr/local/bin/gdrive"
when
'armv7l'
system
"curl https://doc-08-48-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/eu3mqk3d95qv8taljje2duvn0dktolj9/1498096800000/15876260727594163214/*/0B3X9GlR6EmbnamliN0Rld01oRVk -o
#{
CREW_DEST_DIR
}
/usr/local/bin/gdrive"
when
'mips64'
system
"curl https://doc-08-48-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/pj4u65jq8goaj179otteoe018a3q1m6m/1498096800000/15876260727594163214/*/0B3X9GlR6Embna2lzdEJ6blFzSzQ -o
#{
CREW_DEST_DIR
}
/usr/local/bin/gdrive"
when
'ppc64'
system
"curl https://doc-0g-48-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/bnhrel73kb47t5gl31th03menie11qmm/1498096800000/15876260727594163214/*/0B3X9GlR6EmbnS09XMzhfRXBnUzA -o
#{
CREW_DEST_DIR
}
/usr/local/bin/gdrive"
else
abort
'Unable to install gdrive. Architecture not supported.'
.
lightred
end
system
"chmod +x
#{
CREW_DEST_DIR
}
/usr/local/bin/gdrive"
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