objconv: Add version 2020-Jun-08 (#1750)

https://www.agner.org/optimize/#objconv.
`pre_install` is for flattening a deeply nested folder.
This commit is contained in:
YenForYang 2021-01-20 10:09:50 -06:00 committed by GitHub
parent 00e7bed19e
commit 33a308f83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
bucket/objconv.json Normal file
View File

@ -0,0 +1,16 @@
{
"version": "2020-Jun-08",
"description": "Object file converter and dissassembler",
"homepage": "https://www.agner.org/optimize/#objconv",
"license": "GPL-3.0-or-later",
"url": "https://www.agner.org/optimize/objconv.zip",
"checkver": "File\\s*name.{0,32}?objconv\\.zip,\\s*size:\\s*[0-9]+,\\s*last\\s*modified:\\s*(2[0-9]{3}-...-[0-9]{2})",
"hash": "1BFD417D73A9BEB7EBDCFC986B5607D5966BE2F7F376FEF86B7BE3ED4F3E2164",
"bin": "objconv.exe",
"pre_install": [
"Get-ChildItem $dir -Filter objconv.exe -Recurse | select -first 1 | % { Move-Item $_.FullName -Destination $dir; Remove-Item $_.FullName.Replace($dir,'').Split('\\')[1] -Recurse }"
],
"autoupdate": {
"url": "https://www.agner.org/optimize/objconv.zip"
}
}