Skip to content

Commit

Permalink
catgirl 2.2a (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrothman committed Jan 24, 2025
1 parent e669b93 commit 254ffab
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Formula/c/catgirl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
class Catgirl < Formula
desc "Terminal IRC client"
homepage "https://git.causal.agency/catgirl/about/"
url "https://git.causal.agency/catgirl/snapshot/catgirl-2.2a.tar.gz"
sha256 "c6d760aaee134e052586def7a9103543f7281fde6531fbcb41086470794297c2"
license "GPL-3.0-or-later"

depends_on "ctags" => :build
depends_on "pkgconf" => :build

depends_on "libretls"
uses_from_macos "ncurses"

def install
args = %W[
--mandir=#{man}
]

args << "--enable-sandman" if OS.mac?

system "./configure", "--disable-silent-rules", *std_configure_args, *args
system "make"
system "make", "install"
end

test do
output = shell_output(bin/"catgirl 2>&1", 64)
assert_match "catgirl: host required", output
end
end

0 comments on commit 254ffab

Please sign in to comment.