27 lines
1.0 KiB
Ruby
27 lines
1.0 KiB
Ruby
class Yetris < Formula
|
|
desc "Customizable Tetris for the terminal"
|
|
homepage "https://github.com/alexdantas/yetris"
|
|
url "https://github.com/alexdantas/yetris/archive/v2.3.0.tar.gz"
|
|
sha256 "720c222325361e855e2dcfec34f8f0ae61dd418867a87f7af03c9a59d723b919"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "a43b346adc20fc7d4f84ec1300e839bb4e615ab40ccf8e1a591f099092ad6078" => :catalina
|
|
sha256 "ace31e89cefd33d38a65864d7343baad6dbda23aee0ba2a10f6b19480b9708e0" => :mojave
|
|
sha256 "21537f5957c5ce90281195e6d962363920bda756a6c965ca107c329ec712f126" => :high_sierra
|
|
sha256 "cf350d8daaf62f863b7466477aebea02145abf1f14e50ee56ad324c99dcee018" => :sierra
|
|
sha256 "fd08bc62fc0c4687ed7e76fe604c345a647fb52a348c55cf446fcbf52c7af8dd" => :el_capitan
|
|
sha256 "a14c5327ab931d7394b3f617422916eafbc76a936ac77e81a959b38aa223dd5e" => :yosemite
|
|
end
|
|
|
|
uses_from_macos "ncurses"
|
|
|
|
def install
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
assert_match "v#{version}", shell_output("#{bin}/yetris --version")
|
|
end
|
|
end
|