From c7514fb276c655cd18272417c60bdc5653ccb2e4 Mon Sep 17 00:00:00 2001 From: Igor Kapkov Date: Wed, 2 Jan 2019 15:16:28 +1100 Subject: [PATCH] cointop 1.1.2 Closes #35618. Signed-off-by: FX Coudert --- Formula/cointop.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Formula/cointop.rb b/Formula/cointop.rb index 8eb87625cc..c7d924eab8 100644 --- a/Formula/cointop.rb +++ b/Formula/cointop.rb @@ -1,8 +1,8 @@ class Cointop < Formula desc "Interactive terminal based UI application for tracking cryptocurrencies" homepage "https://cointop.sh" - url "https://github.com/miguelmota/cointop/archive/1.1.1.tar.gz" - sha256 "c3c186cae3957438909674488c180349eaae234ac5310664774ffdbbad3de12e" + url "https://github.com/miguelmota/cointop/archive/1.1.2.tar.gz" + sha256 "69070f6b610f31f64245052910b4bd940a3e722f7326e7959c95f47ebe1c38ba" bottle do cellar :any_skip_relocation @@ -15,8 +15,9 @@ class Cointop < Formula def install ENV["GOPATH"] = buildpath - (buildpath/"src/github.com/miguelmota/cointop").install buildpath.children - cd "src/github.com/miguelmota/cointop" do + src = buildpath/"src/github.com/miguelmota/cointop" + src.install buildpath.children + src.cd do system "go", "build", "-o", bin/"cointop" prefix.install_metafiles end