File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments