Skip to content

Commit a1dc13d

Browse files
authored
Merge pull request Homebrew#205376 from andrewrothman/catgirl
catgirl 2.2a (new formula)
2 parents 50ad188 + b9e6010 commit a1dc13d

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

Formula/c/catgirl.rb

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
class Catgirl < Formula
2+
desc "Terminal IRC client"
3+
homepage "https://git.causal.agency/catgirl/about/"
4+
url "https://git.causal.agency/catgirl/snapshot/catgirl-2.2a.tar.gz"
5+
sha256 "c6d760aaee134e052586def7a9103543f7281fde6531fbcb41086470794297c2"
6+
license "GPL-3.0-or-later"
7+
8+
livecheck do
9+
url "https://git.causal.agency/catgirl"
10+
regex(/href=.*?catgirl[._-]v?(\d+(?:\.\d+)+[a-z]?)\.t/i)
11+
end
12+
13+
bottle do
14+
sha256 arm64_sequoia: "10113098841cbf331b3b7ecd70b8fcadc65ee0d863f9fd46671d28325e9e1066"
15+
sha256 arm64_sonoma: "7a5ac77635d063e53136ba82f11f793ecabd86340ba3fffbce69463df086c316"
16+
sha256 arm64_ventura: "e6bb55c082d4b2ceb8328bb4a7723aa3d56168258cad31f0fbc9afad664cb2cb"
17+
sha256 sonoma: "13112c4d7607f8ca1f991a1980b1a72636d5359b5a8e6e09826ce5a6167abbff"
18+
sha256 ventura: "86720e048ec46eba3a7ede53e34b6b944d802b451758ed5f1cc20a0f87d44f55"
19+
sha256 x86_64_linux: "b6849416058a2849403173bf34aba0a45d8c27f3a3ff2e43973f0480f6552c00"
20+
end
21+
22+
depends_on "ctags" => :build
23+
depends_on "pkgconf" => :build
24+
25+
depends_on "libretls"
26+
uses_from_macos "ncurses"
27+
28+
def install
29+
args = %W[
30+
--disable-silent-rules
31+
--mandir=#{man}
32+
]
33+
34+
args << "--enable-sandman" if OS.mac?
35+
36+
system "./configure", *std_configure_args, *args
37+
system "make"
38+
system "make", "install"
39+
end
40+
41+
test do
42+
output = shell_output(bin/"catgirl 2>&1", 64)
43+
assert_match "catgirl: host required", output
44+
end
45+
end

0 commit comments

Comments
 (0)