aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKozo Nishida2015-03-31 16:50:27 +0900
committerBrett Koonce2015-03-31 23:32:55 -0700
commit487022da5d17ad993e1427d5cb6f6b31f0167647 (patch)
tree835ce7d7c4a4486843e39a6bcf41c6db0ab69e42 /Library
parenteab261fb1b9493e0f697edd44ef2895f98e849f2 (diff)
downloadhomebrew-487022da5d17ad993e1427d5cb6f6b31f0167647.tar.bz2
peco 0.3.2
Closes #38223. Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/peco.rb17
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/peco.rb b/Library/Formula/peco.rb
index 35f8075d8..48fda23f4 100644
--- a/Library/Formula/peco.rb
+++ b/Library/Formula/peco.rb
@@ -2,8 +2,10 @@ require "language/go"
class Peco < Formula
homepage "https://github.com/peco/peco"
- url "https://github.com/peco/peco/archive/v0.3.0.tar.gz"
- sha1 "dcecc51e5f62adeb09f2dcb0680b7fb6d1e0c50f"
+ url "https://github.com/peco/peco/archive/v0.3.2.tar.gz"
+ sha256 "ce2d617a49a29a010546b6331f7d3288eeab23226fada591b5c65be035b9c693"
+
+ head "https://github.com/peco/peco.git"
bottle do
cellar :any
@@ -12,6 +14,8 @@ class Peco < Formula
sha256 "f71b17c651c0c6c960a88be59e33cc8f11499e4c6d378b020b691e08f3a691a6" => :mountain_lion
end
+ depends_on "go" => :build
+
go_resource "github.com/google/btree" do
url "https://github.com/google/btree.git",
:revision => "0c05920fc3d98100a5e3f7fd339865a6e2aaa671"
@@ -32,15 +36,10 @@ class Peco < Formula
:revision => "10f14d7408b64a659b7c694a771f5006952d336c"
end
- go_resource "github.com/peco/peco" do
- url "https://github.com/peco/peco.git",
- :revision => "700b77b5ba57ce0cc57339d063a24bb06a485eca"
- end
-
- depends_on "go" => :build
-
def install
ENV["GOPATH"] = buildpath
+ mkdir_p buildpath/"src/github.com/peco"
+ ln_s buildpath, buildpath/"src/github.com/peco/peco"
Language::Go.stage_deps resources, buildpath/"src"
system "go", "build", "cmd/peco/peco.go"