Commit
Closes #14779. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
require 'formula' | |||
|
|||
class Pass < Formula | |||
homepage 'http://zx2c4.com/projects/password-store' | |||
url 'http://git.zx2c4.com/password-store/snapshot/password-store-1.1.4.tar.xz' | |||
sha256 '4dd8d1b39b885ba4e902e50f36afb40b3087e682f9afb89d33d17fa931405929' | |||
head 'http://git.zx2c4.com/password-store', :using => :git | |||
|
|||
depends_on 'xz' => :build | |||
depends_on 'pwgen' | |||
depends_on 'tree' | |||
depends_on 'gnupg2' | |||
|
|||
def install | |||
inreplace "src/password-store.sh" do |s| | |||
s.gsub! "gpg ", "gpg2 " | |||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
zx2c4
Author
Contributor
|
|||
s.gsub! "xclip -o -selection clipboard", "pbpaste" | |||
s.gsub! "xclip -selection clipboard", "pbcopy" | |||
s.gsub! "qdbus", "#qdbus" | |||
s.gsub! "base64", "openssl base64" | |||
end | |||
inreplace "man/pass.1", "xclip", "pbcopy" | |||
|
|||
system "make DESTDIR=#{prefix} PREFIX=/ install" | |||
end | |||
|
|||
end |
Why is this gsub swithcing from gpg -> gpg2? the installed gpg from brew installs as gpg not gpg2. Had to go in and switch everything back in order for this to work.