homebrew-formulae/Formula/aerc-contacts.rb

25 lines
870 B
Ruby

class AercContacts < Formula
desc "Search macOS Contacts and output data for aerc email client"
homepage "https://sr.ht/~crocmagnon/aerc-contacts-macos/"
url "https://git.sr.ht/~crocmagnon/aerc-contacts-macos", :tag => "0.1.0", :using => :git, :revision => "58579a5ed7b3afdbddd84ea769701a5c4802eb4c"
sha256 "d415b1ac07865941fe3db77d2f1d2888d47f03759959bde47bbc7b6f2146945c"
license "MIT"
head "https://git.sr.ht/~crocmagnon/aerc-contacts-macos", :using => :git
bottle do
root_url "https://dl.bintray.com/crocmagnon/bottles-formulae"
cellar :any_skip_relocation
sha256 "84bf0bcf58550458a5b92669faa5b523f728fdd8f3fe103cc5a81deaedd1a19a" => :catalina
end
depends_on :xcode => ["10.0", :build]
def install
bin.mkpath
system "make", "install", "prefix=#{prefix}"
end
test do
system "#{bin}/aerc-contacts JohnDoe"
end
end