Add pdfcrack package

pdfcrack is a tool for recovering passwords for PDF files.

Tested as working on Samsung Chromebook Plus (aarch64).
This commit is contained in:
Casey Strouse
2017-11-11 13:14:39 -07:00
parent 97b70ccec2
commit a5114ca9b8

22
packages/pdfcrack.rb Normal file
View File

@@ -0,0 +1,22 @@
require 'package'
class Pdfcrack < Package
description 'pdfcrack is a command line, password recovery tool for PDF-files.'
homepage 'https://sourceforge.net/projects/pdfcrack'
version '0.16'
source_url 'https://sourceforge.net/projects/pdfcrack/files/pdfcrack/pdfcrack-0.16/pdfcrack-0.16.tar.gz'
source_sha256 '7865b203074ccfd5c612c8ce00c46ffcb4fabaa26154ce9304dfc668c7cb73ef'
binary_url ({
})
binary_sha256 ({
})
def self.build
system 'make'
end
def self.install
system "install -Dm755 pdfcrack #{CREW_DEST_PREFIX}/bin/pdfcrack"
end
end