From ecf17864a2a16dbfa178c8649e83c5b93ed5829f Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Sun, 17 Nov 2019 17:08:25 -0800 Subject: [PATCH] dos2unix: add autoupdate section (#451) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * dos2unix: add autoupdate section See #150. * Update dos2unix.json * Update bucket/dos2unix.json Co-Authored-By: Jakub Čábera * dos2unix: Run checkver (and fix regex) --- bucket/dos2unix.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/bucket/dos2unix.json b/bucket/dos2unix.json index 326b73a54b..717d72b0c9 100644 --- a/bucket/dos2unix.json +++ b/bucket/dos2unix.json @@ -1,16 +1,16 @@ { "homepage": "http://dos2unix.sourceforge.net/", "description": "Convert text files with DOS or Mac line endings to Unix line endings and vice versa", - "version": "7.4.0", + "version": "7.4.1", "license": "BSD-2-Clause", "architecture": { "64bit": { - "url": "https://downloads.sourceforge.net/project/dos2unix/dos2unix/7.4.0/dos2unix-7.4.0-win64.zip", - "hash": "1e3db91000c217c2de84f231615a2cc88dad275d8fa0f6698bbfd5f7d0c50a1b" + "url": "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.1-win64.zip", + "hash": "1d5ba31ffe8e4ec93379bc45822b5c0b1b250ada51786e5051cf1591e4814499" }, "32bit": { - "url": "https://downloads.sourceforge.net/project/dos2unix/dos2unix/7.4.0/dos2unix-7.4.0-win32.zip", - "hash": "12d9188179b0d5526df9044f0e8d3bc11e80201110fd520f21842e27e4ebd4fe" + "url": "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.1-win32.zip", + "hash": "76c5f580ed14ad7352fb7b80642e7997e8d16d62bed39f8cc2ff5708f3f9d083" } }, "bin": [ @@ -21,6 +21,16 @@ ], "checkver": { "url": "https://waterlan.home.xs4all.nl/dos2unix.html", - "re": "Latest version: (?[\\d.]+) \\([\\d\\-]+\\)" + "regex": "Stable version:\\s+([\\d.]+)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-$version-win64.zip" + }, + "32bit": { + "url": "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-$version-win32.zip" + } + } } }