Add LibreOffice

This commit is contained in:
Steffen Lange 2020-03-28 23:30:53 +01:00
parent daab33a675
commit f0c7c5fae0
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?php
class LibreOfficeFresh extends PatchBase {
function __construct() {
parent::__construct('The Document Foundation', 'LibreOffice - Fresh Branch', 'https://www.libreoffice.org/download/download/');
}
function check() : bool {
if ($this->fetch('https://www.libreoffice.org/download/release-notes/'))
return $this->parse('/name="Fresh"><\/a>LibreOffice ([\d\.]+) \(/');
return false;
}
}
?>