homebrew-core/Formula/ical-buddy.rb

24 lines
922 B
Ruby

class IcalBuddy < Formula
desc "Get events and tasks from the macOS calendar database"
homepage "https://hasseg.org/icalBuddy/"
url "https://github.com/DavidKaluta/icalBuddy64/releases/download/v1.10.1/icalBuddy-v1.10.1.zip"
sha256 "720a6a3344ce32c2cab7c3d2b686ad8de8d9744b747ac48b275247ed54cb3945"
license "MIT"
head "https://github.com/DavidKaluta/icalBuddy64.git"
bottle do
cellar :any_skip_relocation
sha256 "4f621e8b12e2c2e5e7c9fdd97ee973b7d4b14ce58eb5a5f7a9db32243f0f99f1" => :catalina
sha256 "4f621e8b12e2c2e5e7c9fdd97ee973b7d4b14ce58eb5a5f7a9db32243f0f99f1" => :mojave
sha256 "4f621e8b12e2c2e5e7c9fdd97ee973b7d4b14ce58eb5a5f7a9db32243f0f99f1" => :high_sierra
end
def install
args = %W[icalBuddy icalBuddy.1 icalBuddyLocalization.1
icalBuddyConfig.1 COMPILER=#{ENV.cc}]
system "make", *args
bin.install "icalBuddy"
man1.install Dir["*.1"]
end
end