28 lines
1.4 KiB
Ruby
28 lines
1.4 KiB
Ruby
class Pdfcrack < Formula
|
|
desc "PDF files password cracker"
|
|
homepage "https://pdfcrack.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/pdfcrack/pdfcrack/pdfcrack-0.19/pdfcrack-0.19.tar.gz"
|
|
sha256 "3115206998b7cddf13971dd4b50946c077fc96e220aca1c0734798d907a2c0ed"
|
|
license "GPL-2.0"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "08bddb89fcbcce44da75bd5216466c85c107a5cfd3066649e916333fdfee5691"
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "74b660be05cc752df31644502eaf6017289b3d6ee370c49577a14f6052f82102"
|
|
sha256 cellar: :any_skip_relocation, monterey: "cae9246afd388cc5307372c772629b85edd45bd9dd37cf710dcf26c457c98626"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "b2f128d92c00fe5d1fa81d7b61e7458fcdb8b58e656b312679fbefe33d4295c4"
|
|
sha256 cellar: :any_skip_relocation, catalina: "2c26ba3ca3a1edd9cc9e6570cb5d1c7838a152a3d8281a2a16c6be5276d47b23"
|
|
sha256 cellar: :any_skip_relocation, mojave: "12310e0c5841db19ecf51f527cde0aaba1663a04aa78c760a5d6e02218dc4e3c"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "9923fadda54414a1d0cd5e86b0796aec8bbaf7c80e96e7518b5ae136d50d5674"
|
|
sha256 cellar: :any_skip_relocation, x86_64_linux: "da83f4c7515ee9d98ffd1fb7a0d55a235ecbd3a5ab17dba071acca3ee3412d8f"
|
|
end
|
|
|
|
def install
|
|
system "make", "all"
|
|
bin.install "pdfcrack"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/pdfcrack", "--version"
|
|
end
|
|
end
|