Created
September 3, 2014 19:24
-
-
Save FiloSottile/7dd794d634b609879947 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "formula" | |
class PinentryMac < Formula | |
head "https://github.com/GPGTools/pinentry-mac.git" | |
def install | |
system "make" | |
prefix.install "build/Release/pinentry-mac.app" | |
bin.write_exec_script "#{prefix}/pinentry-mac.app/Contents/MacOS/pinentry-mac" | |
end | |
test do | |
system "echo BYE | #{bin}/pinentry-mac" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment