From d31c7ee939282099ebe045bc79b309c3a9233a56 Mon Sep 17 00:00:00 2001 From: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Date: Fri, 17 Jun 2022 16:55:06 +0530 Subject: [PATCH] units: Add version 2.21 (#3683) * units: Add version 2.21 * Update units.json * 're' -> 'regex', escape dots Co-authored-by: Issac Lin --- bucket/units.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bucket/units.json diff --git a/bucket/units.json b/bucket/units.json new file mode 100644 index 0000000000..6e86d98cf9 --- /dev/null +++ b/bucket/units.json @@ -0,0 +1,25 @@ +{ + "version": "2.21", + "description": "Tool to convert quantities between different systems of measurement", + "homepage": "https://www.gnu.org/software/units/", + "license": "GPL-3.0-or-later", + "architecture": { + "64bit": { + "url": "https://ftp.gnu.org/gnu/units/windows/units-2.21-setup.exe", + "hash": "185ba7fbb56297dbafe2c40306aa1a63f3c5b17f66688dc6c21e562b31ad80d2" + } + }, + "innosetup": true, + "bin": "units.exe", + "checkver": { + "url": "https://ftp.gnu.org/gnu/units/windows/?C=M;O=D", + "regex": "units-([\\d.]+)-setup\\.exe" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://ftp.gnu.org/gnu/units/windows/units-$version-setup.exe" + } + } + } +}