2020-07-05 15:55:50 +02:00
|
|
|
class AercContacts < Formula
|
|
|
|
desc "Search macOS Contacts and output data for aerc email client"
|
2021-02-08 17:30:07 +01:00
|
|
|
homepage "https://git.augendre.info/gaugendre/aerc-contacts-macos"
|
|
|
|
url "https://git.augendre.info/gaugendre/aerc-contacts-macos.git", :tag => "0.1.0", :using => :git, :revision => "58579a5ed7b3afdbddd84ea769701a5c4802eb4c"
|
2020-07-05 16:32:49 +02:00
|
|
|
sha256 "d415b1ac07865941fe3db77d2f1d2888d47f03759959bde47bbc7b6f2146945c"
|
2020-07-05 16:53:50 +02:00
|
|
|
license "MIT"
|
2021-02-08 17:30:07 +01:00
|
|
|
head "https://git.augendre.info/gaugendre/aerc-contacts-macos.git", :using => :git
|
2020-07-05 15:55:50 +02:00
|
|
|
|
2020-07-05 16:32:49 +02:00
|
|
|
depends_on :xcode => ["10.0", :build]
|
2020-07-06 09:04:42 +02:00
|
|
|
|
2020-07-05 15:55:50 +02:00
|
|
|
def install
|
2020-07-05 16:32:49 +02:00
|
|
|
bin.mkpath
|
2020-07-05 15:55:50 +02:00
|
|
|
system "make", "install", "prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/aerc-contacts JohnDoe"
|
|
|
|
end
|
|
|
|
end
|