Add Ghostscript

This commit is contained in:
Steffen Lange 2020-04-21 17:19:11 +02:00
parent 5bf91ed443
commit 6d53614747

14
modules/Ghostscript.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Ghostscript extends PatchBase {
function __construct() {
parent::__construct('Artifex Software', 'Ghostscript', 'https://www.ghostscript.com/download/gsdnld.html');
}
function check() : bool {
if ($this->fetch('https://www.ghostscript.com/download/gsdnld.html'))
return $this->parse('/<a name="SRC"><\/a>Ghostscript ([\d\.]+) Source/');
return false;
}
}
?>