grep: Update to version 3.8 (#4832)

* grep: Update to version 3.8

* grep: fix url fragment
This commit is contained in:
Zarin 2023-05-26 15:49:51 -04:00 committed by GitHub
parent 8b60b32757
commit 0854b8ddee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,43 +1,41 @@
{ {
"version": "3.7", "version": "3.8",
"description": "Print lines matching a pattern.", "description": "Print lines matching a pattern.",
"homepage": "https://www.gnu.org/software/grep", "homepage": "https://www.gnu.org/software/grep",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://packages.chocolatey.org/grep.3.7.nupkg", "url": "https://raw.githubusercontent.com/mbuilov/grep-windows/3.8/grep-3.8-x64.exe#/grep.exe",
"hash": "ec113135322239cd453a290f48fdb1ce6190cdcde162aa8e576d41ff8c606c94", "hash": "f63cb9baab1cfaa635b6108769970f27d9961b69cb9b92f1cb0dab48e2350cfb"
"bin": [ },
"grep.exe", "32bit": {
[ "url": "https://raw.githubusercontent.com/mbuilov/grep-windows/3.8/grep-3.8-x86.exe#/grep.exe",
"grep.exe", "hash": "b1ee3647d18570f04e3b7bf6a10278596d6c05056e376ba43918c5073c23f99f"
"egrep",
"-E"
],
[
"grep.exe",
"fgrep",
"-F"
]
],
"extract_dir": "tools\\install\\grep-windows-3.7"
} }
}, },
"pre_install": "Rename-Item \"$dir\\grep-$version-x64.exe\" grep.exe", "bin": [
"post_install": "Remove-Item \"$dir\\tools\" -Recurse", "grep.exe",
[
"grep.exe",
"egrep",
"-E"
],
[
"grep.exe",
"fgrep",
"-F"
]
],
"checkver": { "checkver": {
"url": "https://community.chocolatey.org/packages/grep", "github": "https://github.com/mbuilov/grep-windows"
"regex": "GNU grep ([\\d.]+)</title>"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://packages.chocolatey.org/grep.$version.nupkg", "url": "https://raw.githubusercontent.com/mbuilov/grep-windows/$version/grep-$version-x64.exe#/grep.exe"
"hash": { },
"url": "https://community.chocolatey.org/packages/grep", "32bit": {
"regex": "$sha256.*?$basename" "url": "https://raw.githubusercontent.com/mbuilov/grep-windows/$version/grep-$version-x86.exe#/grep.exe"
},
"extract_dir": "tools\\install\\grep-windows-$version"
} }
} }
} }