blob: 2290a27bc4fe4c9642d1a5e2d5e5236bdbedbaed (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 | class Pass < Formula
  homepage "http://www.passwordstore.org/"
  url "http://git.zx2c4.com/password-store/snapshot/password-store-1.6.5.tar.xz"
  sha256 "337a39767e6a8e69b2bcc549f27ff3915efacea57e5334c6068fcb72331d7315"
  bottle do
    cellar :any
    sha1 "f18ca5f0e15ac3de2cbb6757839fd44f45c3e823" => :yosemite
    sha1 "200e667bccf5219021a59f666e9b9e002367a6f7" => :mavericks
    sha1 "8e7a8b7da7c7016c7657c5093141c4b30b7abe98" => :mountain_lion
  end
  head "http://git.zx2c4.com/password-store", :using => :git
  depends_on "pwgen"
  depends_on "tree"
  depends_on "gnu-getopt"
  depends_on :gpg
  def install
    system "make", "PREFIX=#{prefix}", "install"
    share.install "contrib"
    zsh_completion.install "src/completion/pass.zsh-completion" => "_pass"
    bash_completion.install "src/completion/pass.bash-completion" => "password-store"
  end
  test do
    system "#{bin}/pass", "--version"
  end
end
 |