0364ca130b
Closes Homebrew/homebrew#28370. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
31 lines
869 B
Ruby
31 lines
869 B
Ruby
require 'formula'
|
|
|
|
class Pass < Formula
|
|
homepage 'http://zx2c4.com/projects/password-store'
|
|
url 'http://git.zx2c4.com/password-store/snapshot/password-store-1.5.tar.xz'
|
|
sha256 '6d3f327b039bb64157662d3d11af5ecebd3774b886ad6e52a684654d9914a8f3'
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "3a1324080921276695ec14b88a6e8eef9f56d9de" => :mavericks
|
|
sha1 "aa91ce2e9c6ff7a0aea9b9b661f5879147c49491" => :mountain_lion
|
|
sha1 "8d04739353034e7722aa90dcc14f790e3c25c2a3" => :lion
|
|
end
|
|
|
|
head 'http://git.zx2c4.com/password-store', :using => :git
|
|
|
|
depends_on 'pwgen'
|
|
depends_on 'tree'
|
|
depends_on 'gnu-getopt'
|
|
depends_on 'gnupg2'
|
|
|
|
def install
|
|
system "make DESTDIR=#{prefix} PREFIX=/ install"
|
|
share.install "contrib"
|
|
zsh_completion.install "src/completion/pass.zsh-completion" => "_pass"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/pass", "--version"
|
|
end
|
|
end
|