mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
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:
22
packages/pdfcrack.rb
Normal file
22
packages/pdfcrack.rb
Normal 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
|
||||
Reference in New Issue
Block a user