pius 2.0.9
Closes Homebrew/homebrew#18463. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
3523f5674d
commit
8360f1818d
1 changed files with 32 additions and 0 deletions
32
Formula/pius.rb
Normal file
32
Formula/pius.rb
Normal file
|
@ -0,0 +1,32 @@
|
|||
require 'formula'
|
||||
class GnupgInstalled < Requirement
|
||||
fatal true
|
||||
|
||||
satisfy { which('gpg') || which('gpg2') }
|
||||
|
||||
def message; <<-EOS.undent
|
||||
Gnupg is required to use these tools.
|
||||
|
||||
You can install Gnupg or Gnupg2 with Homebrew:
|
||||
brew install gnupg
|
||||
brew install gnupg2
|
||||
|
||||
Or you can use one of several different
|
||||
prepackaged installers that are available.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
class Pius < Formula
|
||||
homepage 'http://www.phildev.net/pius/'
|
||||
url 'http://downloads.sourceforge.net/project/pgpius/pius/2.0.9/pius-2.0.9.tar.bz2'
|
||||
sha1 'c8ecdf74b3f704a29f828fdbe0575eb247e21524'
|
||||
|
||||
depends_on GnupgInstalled
|
||||
|
||||
def install
|
||||
bin.install 'pius'
|
||||
bin.install 'pius-keyring-mgr'
|
||||
bin.install 'pius-party-worksheet'
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue