cointop 1.0.5 (new formula)
Closes #27189. Signed-off-by: commitay <commitay@users.noreply.github.com>
This commit is contained in:
parent
a0d5db3d5b
commit
a91403939f
1 changed files with 21 additions and 0 deletions
21
Formula/cointop.rb
Normal file
21
Formula/cointop.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Cointop < Formula
|
||||
desc "Interactive terminal based UI application for tracking cryptocurrencies"
|
||||
homepage "https://cointop.sh"
|
||||
url "https://github.com/miguelmota/cointop/archive/1.0.5.tar.gz"
|
||||
sha256 "2c780c3fe7fa7dd0d51ad0f0d1b1b7b7ee3f8365b9605ab73f21557e72077d78"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
(buildpath/"src/github.com/miguelmota/cointop").install buildpath.children
|
||||
cd "src/github.com/miguelmota/cointop" do
|
||||
system "go", "build", "-o", bin/"cointop"
|
||||
prefix.install_metafiles
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"cointop", "-test"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue