diff options
| author | Filippo Valsorda | 2014-10-22 01:32:30 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-10-22 19:45:58 -0500 |
| commit | 7f928216f44851fd0e2277672b972a121efb433f (patch) | |
| tree | ebe8c566756ca98efbb1bcf66dfb0a384f3bea6b /Library/Formula | |
| parent | c90903ee7e9e5a18d09cca90961c8ea270af2360 (diff) | |
| download | homebrew-7f928216f44851fd0e2277672b972a121efb433f.tar.bz2 | |
Add pinentry-mac v0.8.1
Closes #33458.
[jn: remove test pending resolution of 10.10 build bot issues]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pinentry-mac.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/pinentry-mac.rb b/Library/Formula/pinentry-mac.rb new file mode 100644 index 000000000..609ef0be5 --- /dev/null +++ b/Library/Formula/pinentry-mac.rb @@ -0,0 +1,24 @@ +require "formula" + +class PinentryMac < Formula + homepage "https://github.com/GPGTools/pinentry-mac" + url "https://github.com/GPGTools/pinentry-mac/archive/v0.8.1.tar.gz" + sha256 "79aaa11fa8076ff335b3a1f41c230ef7c8435a757705e6484199f562f26b490f" + head "https://github.com/GPGTools/pinentry-mac.git" + + depends_on :xcode => :build + + def install + system "make" + prefix.install "build/Release/pinentry-mac.app" + bin.write_exec_script "#{prefix}/pinentry-mac.app/Contents/MacOS/pinentry-mac" + end + + def caveats; <<-EOS.undent + You can now set this as your pinentry program like + + ~/.gnupg/gpg-agent.conf + pinentry-program #{HOMEBREW_PREFIX}/bin/pinentry-mac + EOS + end +end |
