22 lines
745 B
Ruby
22 lines
745 B
Ruby
class Pdfcrack < Formula
|
|
desc "PDF files password cracker"
|
|
homepage "https://pdfcrack.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/pdfcrack/pdfcrack/pdfcrack-0.17/pdfcrack-0.17.tar.gz"
|
|
sha256 "561bb1ee21005b6a9cf09771571836de6625ad6c52822b08eaf33b9f32ef0e96"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "a90c034da71cc7aab72ea89c9693c73294258d33eff99449494a47824f7f74cd" => :mojave
|
|
sha256 "5b04e434a4a7f19cda66fc9fd85d06af7911c6a8541da9b256d0286b2e4a3ef8" => :high_sierra
|
|
sha256 "e62512a0ab06aef14644bfe289e9e22ec579c17f64767346ccd4562a389211ca" => :sierra
|
|
end
|
|
|
|
def install
|
|
system "make", "all"
|
|
bin.install "pdfcrack"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/pdfcrack", "--version"
|
|
end
|
|
end
|