homebrew-core/Formula/calcurse.rb
2018-08-23 19:19:18 +02:00

25 lines
841 B
Ruby

class Calcurse < Formula
desc "Text-based personal organizer"
homepage "https://calcurse.org/"
url "https://calcurse.org/files/calcurse-4.3.0.tar.gz"
sha256 "31ecc3dc09e1e561502b4c94f965ed6b167c03e9418438c4a7ad5bad2c785f9a"
bottle do
sha256 "c3f0fc356930d24114a2ef1c16679f1184ba60a4f5bb888b822f6a343f7ae5b5" => :mojave
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