mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"version": "3.7",
|
|
"description": "Print lines matching a pattern.",
|
|
"homepage": "https://www.gnu.org/software/grep",
|
|
"license": "GPL-3.0-or-later",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://packages.chocolatey.org/grep.3.7.nupkg",
|
|
"hash": "ec113135322239cd453a290f48fdb1ce6190cdcde162aa8e576d41ff8c606c94",
|
|
"bin": [
|
|
"grep.exe",
|
|
[
|
|
"grep.exe",
|
|
"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",
|
|
"post_install": "Remove-Item \"$dir\\tools\" -Recurse",
|
|
"checkver": {
|
|
"url": "https://community.chocolatey.org/packages/grep",
|
|
"regex": "GNU grep ([\\d.]+)</title>"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://packages.chocolatey.org/grep.$version.nupkg",
|
|
"hash": {
|
|
"url": "https://community.chocolatey.org/packages/grep",
|
|
"regex": "$sha256.*?$basename"
|
|
},
|
|
"extract_dir": "tools\\install\\grep-windows-$version"
|
|
}
|
|
}
|
|
}
|
|
}
|