28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
class Ttygif < Formula
|
|
desc "Converts a ttyrec file into gif files"
|
|
homepage "https://github.com/icholy/ttygif"
|
|
url "https://github.com/icholy/ttygif/archive/1.6.0.tar.gz"
|
|
sha256 "050b9e86f98fb790a2925cea6148f82f95808d707735b2650f3856cb6f53e0ae"
|
|
license "MIT"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "c953e6967a6bc0c649d81c226565818a223a509fc11e556c7bd242b347c888f0"
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "59d6b52ffd6c8f0680e6dda60fdf17dd1f445abb1339be73687dac519b847517"
|
|
sha256 cellar: :any_skip_relocation, monterey: "4c955eb6cda1e45e9668ad7eb8cd2f4c8d03754a4fb877a08fc4ffeb6c8602cb"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "fd4346a5d4ff4e7fdbb5fefad4ab5943f927e43d7fb4fe5a45a496d6f8bf62f3"
|
|
sha256 cellar: :any_skip_relocation, catalina: "c9fcc9f4e6331acefe39cd12ed8c8ae353d028040526c84f98d6f656cd34af03"
|
|
end
|
|
|
|
depends_on "imagemagick"
|
|
depends_on "ttyrec"
|
|
|
|
def install
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
ENV["TERM_PROGRAM"] = "Something"
|
|
system "#{bin}/ttygif", "--version"
|
|
end
|
|
end
|