2012-09-06 22:20:40 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pass < Formula
|
|
|
|
homepage 'http://zx2c4.com/projects/password-store'
|
2012-10-18 14:49:05 +00:00
|
|
|
url 'http://git.zx2c4.com/password-store/snapshot/password-store-1.4.2.tar.xz'
|
|
|
|
sha256 'ac5261b176e2be60b44c5c785dc5770a3e0f459bc6dbc42136679d68d3986e04'
|
2012-09-06 22:20:40 +00:00
|
|
|
head 'http://git.zx2c4.com/password-store', :using => :git
|
|
|
|
|
|
|
|
depends_on 'xz' => :build
|
|
|
|
depends_on 'pwgen'
|
|
|
|
depends_on 'tree'
|
2012-09-14 03:33:47 +00:00
|
|
|
depends_on 'gnu-getopt'
|
2012-09-06 22:20:40 +00:00
|
|
|
depends_on 'gnupg2'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make DESTDIR=#{prefix} PREFIX=/ install"
|
|
|
|
end
|
|
|
|
|
2012-09-14 03:33:47 +00:00
|
|
|
def test
|
2012-09-22 16:57:58 +00:00
|
|
|
system "#{bin}/pass", "--version"
|
2012-09-14 03:33:47 +00:00
|
|
|
end
|
|
|
|
|
2012-09-06 22:20:40 +00:00
|
|
|
end
|