homebrew-core/Formula/liblunar.rb

31 lines
1.2 KiB
Ruby

class Liblunar < Formula
desc "Lunar date calendar"
homepage "https://code.google.com/archive/p/liblunar/"
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/liblunar/liblunar-2.2.5.tar.gz"
sha256 "c24a7cd3ccbf7ab739d752a437f1879f62b975b95abcf9eb9e1dd623982bc167"
revision 1
bottle do
sha256 arm64_big_sur: "aa7c3b3099b3de258c3080a38afb8bedf0c55d4239c38462ebe66ef6df51d24b"
sha256 big_sur: "6ab90c80d7dba5da9f6c5fc702849a6a0c49745832ac67bac0acfac24f745547"
sha256 catalina: "916da6f9232b56ff4ba94c1e3aa5457ca6a3a36ad19f91f63cf69fe6503ea7ea"
sha256 mojave: "b19be815304a6afc676a11269ca2c520a03e4aed778c4dee20aea063bca69ca8"
sha256 high_sierra: "ce86d50db89030c02c88df1b639fabc9e3c4657e2d954c07b56d4b1cf2bafdf3"
sha256 sierra: "29252d2fbfdfb582d46a728bd8272767dfa532eb90fedbb67a4b2116749dc657"
end
# Replaced by lunar-date
deprecate! date: "2022-07-02", because: :deprecated_upstream
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "gettext"
depends_on "glib"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end