From cd9453eddb8adb5aeb1ccad6c9729d39fef0f835 Mon Sep 17 00:00:00 2001 From: danielnachun Date: Mon, 9 Aug 2021 00:14:02 -0700 Subject: [PATCH] sleepwatcher: add depends_on :macos --- Formula/sleepwatcher.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/sleepwatcher.rb b/Formula/sleepwatcher.rb index 6b9b4a8f1a3..8359a7ecb69 100644 --- a/Formula/sleepwatcher.rb +++ b/Formula/sleepwatcher.rb @@ -3,6 +3,7 @@ class Sleepwatcher < Formula homepage "https://www.bernhard-baehr.de/" url "https://www.bernhard-baehr.de/sleepwatcher_2.2.1.tgz" sha256 "4bf1656702167871141fbc119a844d1363d89994e1a67027f0e773023ae9643e" + license "GPL-3.0-or-later" livecheck do url :homepage @@ -18,6 +19,8 @@ class Sleepwatcher < Formula sha256 cellar: :any_skip_relocation, sierra: "0cecea617ee9334f717a2e2e0424b944dedcc7cd403776c1cf6ff67352b96f4c" end + depends_on :macos + def install # Adjust Makefile to build native binary only inreplace "sources/Makefile" do |s|