sleepwatcher: add depends_on :macos

master
danielnachun 2021-08-09 00:14:02 -07:00 committed by BrewTestBot
parent 8badadc7cf
commit cd9453eddb
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 3 additions and 0 deletions

View File

@ -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|