Skip to content

Commit 135eb65

Browse files
committed
catgirl 2.2a (new formula)
1 parent e669b93 commit 135eb65

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Formula/c/catgirl.rb

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
depends_on "ctags" => :build
14+
depends_on "pkgconf" => :build
15+
16+
depends_on "libretls"
17+
uses_from_macos "ncurses"
18+
19+
def install
20+
args = %W[
21+
--disable-silent-rules
22+
--mandir=#{man}
23+
]
24+
25+
args << "--enable-sandman" if OS.mac?
26+
27+
system "./configure", *std_configure_args, *args
28+
system "make"
29+
system "make", "install"
30+
end
31+
32+
test do
33+
output = shell_output(bin/"catgirl 2>&1", 64)
34+
assert_match "catgirl: host required", output
35+
end
36+
end

0 commit comments

Comments
 (0)