24 lines
873 B
Ruby
24 lines
873 B
Ruby
class SignifyOsx < Formula
|
|
desc "Cryptographically sign and verify files"
|
|
homepage "https://man.openbsd.org/OpenBSD-current/man1/signify.1"
|
|
url "https://github.com/jpouellet/signify-osx/archive/1.3.tar.gz"
|
|
sha256 "c67090135a55478a6a6c11d507d9c3865a11de665c010a8a5f2457737f277f89"
|
|
head "https://github.com/jpouellet/signify-osx.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "523e702b06aca5635673ab05bbd65ac65533112a9395d5c33079ec53aeb8dda4" => :sierra
|
|
sha256 "afb0b2d64d3cf49d5e39a56f1d35245dd9f059845bab6c4872b6119985d6f801" => :el_capitan
|
|
sha256 "026e3a3c729fcaf41bd70041edec504c59981abb9b1b9018025ecd3467d12639" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
system "make", "test"
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/signify", "-G", "-n", "-p", "pubkey", "-s", "seckey"
|
|
end
|
|
end
|