{ "##": "Duplicate of the gnupg package", "version": "2.3.4", "description": "A complete and free implementation of the OpenPGP standard.", "homepage": "https://www.gnupg.org/", "license": "GPL-3.0-or-later", "url": "https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.3.4_20211220.exe#/dl.7z", "hash": "f539e190fb8b191a5e521af41163a4d04a090566b2aa9d205e4576d1b42f268c", "installer": { "script": [ "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse", "New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null", "if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {", " Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"", " New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null", " Copy-Item \"$env:Appdata\\gnupg\\*\" \"$dir\\home\" -Recurse -Force", "}", "New-Item -ItemType \"directory\" -Path \"$dir\\gnupg\" -Force | Out-Null" ] }, "env_add_path": "bin", "persist": "home", "checkver": { "url": "https://www.gnupg.org/download/index.html", "regex": "gnupg-w32-([\\d.]+)_(?\\d+)\\.exe" }, "autoupdate": { "url": "https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-$version_$matchDate.exe#/dl.7z", "hash": { "url": "https://www.gnupg.org/download/integrity_check.html", "regex": "$sha1\\s+$basename" } } }