homebrew-core/Formula/profanity.rb
2019-02-21 19:20:05 +01:00

44 lines
1.3 KiB
Ruby

class Profanity < Formula
desc "Console based XMPP client"
homepage "http://www.profanity.im/"
url "http://www.profanity.im/profanity-0.6.0.tar.gz"
sha256 "51b0932924a391656423af0d85f14dde049ac1e94214f948849d37df1c2759c4"
bottle do
sha256 "6c5d08457285bf82bf9a0b40dd98d0fbf69b558c7e53d53cfb4a23df7f698fe5" => :mojave
sha256 "ecea4e8185066366a4474c0d2e001bc308ffcd11f2e6c03d3620c1eea1e214e3" => :high_sierra
sha256 "cfddb383475bd23916318bbb433133a7e5c8d7ad84a19d002013e88bcdce0af2" => :sierra
end
head do
url "https://github.com/boothj5/profanity.git"
depends_on "autoconf" => :build
depends_on "autoconf-archive" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "gnutls"
depends_on "gpgme"
depends_on "libotr"
depends_on "libstrophe"
depends_on "openssl"
depends_on "ossp-uuid"
depends_on "readline"
depends_on "terminal-notifier"
def install
system "./bootstrap.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/profanity", "-v"
end
end