homebrew-core/Formula/calcurse.rb

25 lines
750 B
Ruby

class Calcurse < Formula
desc "Text-based personal organizer"
homepage "http://calcurse.org/"
url "http://calcurse.org/files/calcurse-4.3.0.tar.gz"
sha256 "31ecc3dc09e1e561502b4c94f965ed6b167c03e9418438c4a7ad5bad2c785f9a"
bottle do
sha256 "0fbabcf326ec92cf28ec57ff76f77e1a6fa41217f7d11ef5090c18b7bfc5b8aa" => :high_sierra
sha256 "0a4237919a02a48d0c661ae43a4da579c69bf826921af07d14d9ade6f835374a" => :sierra
sha256 "4cca241225bacb88ffd8c9f97e8c7b4027068551523f07874975362995eacf54" => :el_capitan
end
depends_on "gettext"
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make", "install"
end
test do
system bin/"calcurse", "-v"
end
end