gdrive: migrate from boneyard
Closes #754. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
5c8a0f5d2c
commit
5e1e163834
2 changed files with 22 additions and 1 deletions
22
Formula/gdrive.rb
Normal file
22
Formula/gdrive.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
class Gdrive < Formula
|
||||
desc "Google Drive CLI Client"
|
||||
homepage "https://github.com/prasmussen/gdrive"
|
||||
url "https://github.com/prasmussen/gdrive/archive/2.1.0.tar.gz"
|
||||
sha256 "a1ea624e913e258596ea6340c8818a90c21962b0a75cf005e49a0f72f2077b2e"
|
||||
head "https://github.com/prasmussen/gdrive.git"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
mkdir_p buildpath/"src/github.com/prasmussen/"
|
||||
ln_sf buildpath, buildpath/"src/github.com/prasmussen/gdrive"
|
||||
system "go", "build", "-o", "gdrive", "."
|
||||
bin.install "gdrive"
|
||||
doc.install "README.md"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match version.to_s, shell_output("#{bin}/gdrive version")
|
||||
end
|
||||
end
|
|
@ -73,7 +73,6 @@
|
|||
"fuse4x-kext": "homebrew/fuse",
|
||||
"gant": "homebrew/boneyard",
|
||||
"gcsfuse": "homebrew/fuse",
|
||||
"gdrive": "homebrew/boneyard",
|
||||
"geda-gaf": "homebrew/science",
|
||||
"geeqie": "homebrew/gui",
|
||||
"geomview": "homebrew/x11",
|
||||
|
|
Loading…
Reference in a new issue