diff --git a/xpdf-tools.json b/xpdf-tools.json new file mode 100644 index 0000000000..f30e1aaeee --- /dev/null +++ b/xpdf-tools.json @@ -0,0 +1,44 @@ +{ + "homepage": "https://www.xpdfreader.com", + "description": "Several command-line utilities to read and extract data from PDF files", + "version": "4.01", + "url": "https://xpdfreader-dl.s3.amazonaws.com/xpdf-tools-win-4.01.zip", + "hash": "e5fe92db4a401f121e2455da721b2a4731e109d2b378262d62daa2a504d38681", + "license": { + "identifier": "GPL-2.0-only,GPL-3.0-only" + }, + "architecture": { + "32bit": { + "extract_dir": "xpdf-tools-win-4.01/bin32" + }, + "64bit": { + "extract_dir": "xpdf-tools-win-4.01/bin64" + } + }, + "checkver": { + "url": "https://www.xpdfreader.com/download.html", + "re": "Current version:\\s*([^\\s<]+)" + }, + "autoupdate": { + "url": "https://xpdfreader-dl.s3.amazonaws.com/xpdf-tools-win-$version.zip", + "architecture": { + "32bit": { + "extract_dir": "xpdf-tools-win-$version/bin32" + }, + "64bit": { + "extract_dir": "xpdf-tools-win-$version/bin64" + } + } + }, + "bin": [ + "pdftopng.exe", + "pdftoppm.exe", + "pdfimages.exe", + "pdftohtml.exe", + "pdffonts.exe", + "pdfdetach.exe", + "pdftotext.exe", + "pdfinfo.exe", + "pdftops.exe" + ] +}