diff --git a/bucket/yquake2-ref-vk.json b/bucket/yquake2-ref-vk.json new file mode 100644 index 00000000..57a9a20f --- /dev/null +++ b/bucket/yquake2-ref-vk.json @@ -0,0 +1,27 @@ +{ + "version": "1.0.2", + "description": "vkQuake2's Vulkan renderer library ported for use with Yamagi Quake II", + "homepage": "https://github.com/yquake2/ref_vk", + "license": "https://github.com/yquake2/ref_vk/blob/master/LICENSE", + "depends": "yquake2", + "url": "https://github.com/yquake2/ref_vk/releases/download/v1.0.2/ref_vk-1.0.2.zip", + "hash": "d5b1a40bce4ba90fcc90c64797dc4a3a83ec99b4100d3cba9915f9c47b12a266", + "extract_dir": "ref_vk-1.0.2", + "installer": { + "script": "Copy-Item \"$dir\\ref_vk.dll\" \"$(versiondir 'yquake2' 'current' $global)\" -Force" + }, + "uninstaller": { + "script": [ + "'ref_vk.dll' | ForEach-Object {", + " if (Test-Path \"$(versiondir 'yquake2' 'current' $global)\\$_\") {", + " Remove-Item \"$(versiondir 'yquake2' 'current' $global)\\$_\"", + " }", + "}" + ] + }, + "checkver": "github", + "autoupdate": { + "url": "https://github.com/yquake2/ref_vk/releases/download/v$version/ref_vk-$version.zip", + "extract_dir": "ref_vk-$version" + } +}