catimg v2.2.1

Closes Homebrew/homebrew#46640.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
master
Eduardo San Martin Morote 2015-12-03 22:41:03 +01:00 committed by Andrew Janke
parent 36ef897eca
commit bae284afc2
1 changed files with 18 additions and 0 deletions

18
Formula/catimg.rb Normal file
View File

@ -0,0 +1,18 @@
class Catimg < Formula
desc "Insanely fast image printing in your terminal"
homepage "https://github.com/posva/catimg"
url "https://github.com/posva/catimg/archive/v2.2.1.tar.gz"
sha256 "eb76d3baeb5e7382d8839d7d4351794166c0b6e8d777ffe0087a3401f907e991"
head "https://github.com/posva/catimg.git"
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
test do
system "#{bin}/catimg", test_fixtures("test.png")
end
end