Skip to content

Commit dafb8c6

Browse files
authored
subhook: Add mirror for this no-longer-public repository (#8568)
1 parent 00588d8 commit dafb8c6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/s/subhook/xmake.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package("subhook")
2-
set_homepage("https://github.com/Zeex/subhook")
3-
set_description("Simple hooking library for C/C++ (x86 only, 32/64-bit, no dependencies)")
2+
set_homepage("https://github.com/Dasharo/subhook")
3+
set_description("Simple hooking library for C/C++ (x86 only, 32/64-bit, no dependencies). Re-upload of Zeex/subhook.")
44
set_license("BSD-2-Clause")
55

6-
add_urls("https://github.com/Zeex/subhook.git")
6+
add_urls("https://github.com/Dasharo/subhook.git",
7+
"https://github.com/xmake-mirror/subhook.git")
78
add_versions("2023.02.10", "e935959d2f9cc642bcbb5e7759b2b1e7196b0947")
89

9-
on_install("windows|x64", "windows|x86", "linux", "macosx", "bsd", "mingw", "msys", function (package)
10+
on_install("windows|!arm64", "linux|x86_64", "macosx|x86_64", "bsd", "mingw", "msys", function (package)
1011
if (not package:config("shared")) and package:is_plat("windows", "mingw") then
1112
package:add("defines", "SUBHOOK_STATIC")
1213
end
@@ -25,6 +26,7 @@ package("subhook")
2526
end
2627
]])
2728
import("package.tools.xmake").install(package)
29+
wprint("The original repository Zeex/subhook is no longer public. You are using a mirror of this repository.")
2830
end)
2931

3032
on_test(function (package)

0 commit comments

Comments
 (0)