homebrew-core/Formula/pass.rb
Jack Nagel 76bcb39bdf Remove explicit xz deps from formulae with HEAD specs
These deps are only needed for the stable download, but they will get
pulled in for HEAD builds unless the are scoped appropriately (i.e.
inside a stable block).

Since they are also auto-detected from the URL now, we can just remove
them.
2013-12-09 12:29:20 -06:00

23 lines
605 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.4.2.tar.xz'
sha256 'a10a8016a3d6bb32891a9a4086ac0a049587db1a55c1ac3b431c66189bc1a302'
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"
zsh_completion.install "contrib/pass.zsh-completion" => "_pass"
end
def test
system "#{bin}/pass", "--version"
end
end