cointop 1.1.2

Closes #35618.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Igor Kapkov 2019-01-02 15:16:28 +11:00 committed by FX Coudert
parent ce2e9983f3
commit c7514fb276

View file

@ -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