diff --git a/packages/c/catch2/xmake.lua b/packages/c/catch2/xmake.lua index 0231e0067..003dfe50e 100644 --- a/packages/c/catch2/xmake.lua +++ b/packages/c/catch2/xmake.lua @@ -6,6 +6,7 @@ package("catch2") add_urls("https://github.com/catchorg/Catch2/archive/refs/tags/$(version).zip", "https://github.com/catchorg/Catch2.git") + add_versions("v3.3.2", "802a1d7f98f8e38a7913b596c5e3356ea76c544acb7c695bfd394544556359f3") add_versions("v3.2.1", "bfee681eaa920c6ddbe05c1eef1912440d38c5f9a7924f68a6aa219ed1a39c0f") add_versions("v3.2.0", "b9f3887915f32eb732140af6a153065a11fabcd3f3e9355f3abff3d3618fd0fe") add_versions("v3.1.1", "eec6c327cd9187c63bbaaa8486f715e31544000bf8876c0543e1181a2a52a5de") diff --git a/packages/d/doxygen/xmake.lua b/packages/d/doxygen/xmake.lua index ab0fb4c7c..c35dc0774 100644 --- a/packages/d/doxygen/xmake.lua +++ b/packages/d/doxygen/xmake.lua @@ -5,7 +5,12 @@ package("doxygen") set_license("GPL-2.0") add_urls("https://doxygen.nl/files/doxygen-$(version).src.tar.gz", {alias = "archive"}) + add_urls("https://github.com/doxygen/doxygen/releases/download/Release_$(version).src.tar.gz", { + alias = "archive", + version = function (version) return format("%s/doxygen-%s", version:gsub("%.", "_"), version) end + }) add_urls("https://github.com/doxygen/doxygen.git", {alias = "github"}) + add_versions("archive:1.9.6", "297f8ba484265ed3ebd3ff3fe7734eb349a77e4f95c8be52ed9977f51dea49df") add_versions("archive:1.9.3", "f352dbc3221af7012b7b00935f2dfdc9fb67a97d43287d2f6c81c50449d254e0") add_versions("github:1.9.3", "Release_1_9_3") add_versions("github:1.9.2", "Release_1_9_2") @@ -24,6 +29,7 @@ package("doxygen") end) on_install("@windows", "@macosx", "@linux", function (package) + os.rm("templates/*/PaxHeader") import("package.tools.cmake").install(package) end)