27 lines
963 B
Ruby
27 lines
963 B
Ruby
cask "busycontacts" do
|
|
version "1.5.1,2021-01-09-18-07"
|
|
sha256 "d238877ca8a7590f797f9cd6e3f1968617996ef8f0bfb9fd00196dc6544af70d"
|
|
|
|
url "https://7e968b6ce8a839f034d9-23cfb9eddcb7b94cb43ba95f95a76900.ssl.cf1.rackcdn.com/bct-#{version.before_comma}-#{version.after_comma}.zip",
|
|
verified: "7e968b6ce8a839f034d9-23cfb9eddcb7b94cb43ba95f95a76900.ssl.cf1.rackcdn.com/"
|
|
name "BusyContacts"
|
|
desc "Contact manager focusing on efficiency"
|
|
homepage "https://www.busymac.com/busycontacts/index.html"
|
|
|
|
livecheck do
|
|
url "https://www.busymac.com/download/BusyContacts.zip"
|
|
strategy :header_match do |headers|
|
|
match = headers["location"].match(/bct-(\d+(?:\.\d+)*)-(.*?)\.zip/)
|
|
"#{match[1]},#{match[2]}"
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
pkg "BusyContacts Installer.pkg"
|
|
|
|
uninstall pkgutil: "com.busymac.busycontacts.pkg",
|
|
quit: "com.busymac.busycontacts",
|
|
signal: ["KILL", "com.busymac.busycontacts"]
|
|
end
|