16 lines
395 B
Ruby
16 lines
395 B
Ruby
class AercContacts < Formula
|
|
desc "Search macOS Contacts and output data for aerc email client"
|
|
homepage "https://git.sr.ht/~crocmagnon/aerc-contacts-macos"
|
|
url "https://git.sr.ht/~crocmagnon/aerc-contacts-macos"
|
|
|
|
depends_on :xcode => ["10.0", :build]
|
|
|
|
def install
|
|
system "make", "install", "prefix=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/aerc-contacts JohnDoe"
|
|
end
|
|
end
|