diff --git a/Formula/signing-party.rb b/Formula/signing-party.rb index 9038812e7f..f69146094b 100644 --- a/Formula/signing-party.rb +++ b/Formula/signing-party.rb @@ -3,7 +3,6 @@ require 'formula' class GnupgInstalled < Requirement fatal true default_formula 'gnupg2' - satisfy { which('gpg') || which('gpg2') } end @@ -37,17 +36,15 @@ class SigningParty < Formula inreplace 'caff', '/usr/share/doc/signing-party', HOMEBREW_PREFIX/'share/doc/signing-party' system "make" man1.install Dir['*.1'] - bin.install 'caff' - bin.install 'pgp-clean' - bin.install 'pgp-fixkey' - (doc+'caff').install Dir['README*', 'caffrc.sample'] + bin.install 'caff', 'pgp-clean', 'pgp-fixkey' + (doc/'caff').install Dir['README*', 'caffrc.sample'] end cd 'gpg-key2ps' do system "make" man1.install 'gpg-key2ps.1' bin.install 'gpg-key2ps' - (doc+'key2ps').install 'README' + (doc/'key2ps').install 'README' end cd 'gpg-mailkeys' do @@ -57,7 +54,7 @@ class SigningParty < Formula bin.install 'gpg-mailkeys' man1.install 'gpg-mailkeys.1' - (doc+'gpg-mailkeys').install ['README', 'example.gpg-mailkeysrc'] + (doc/'gpg-mailkeys').install 'README', 'example.gpg-mailkeysrc' end cd 'gpglist' do @@ -75,7 +72,7 @@ class SigningParty < Formula system "make" man1.install 'gpgsigs.1' bin.install 'gpgsigs', 'gpgsigs-eps-helper' - (doc+'gpgsigs').install Dir['gpgsigs-lt2k5*.txt'] + (doc/'gpgsigs').install Dir['gpgsigs-lt2k5*.txt'] end cd 'keyanalyze' do @@ -92,7 +89,7 @@ class SigningParty < Formula cd 'sig2dot' do bin.install 'sig2dot' man1.install 'sig2dot.1' - (doc+'sig2dot').install 'README.sig2dot' + (doc/'sig2dot').install 'README.sig2dot' end end end