Ver Fonte

Update xmake.lua (#470)

* Update xmake.lua

* add tar and fix sha256

* mark as headeronly

Co-authored-by: ruki <[email protected]>
yamashi há 4 anos atrás
pai
commit
6417275dcf
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      packages/m/mem/xmake.lua

+ 4 - 2
packages/m/mem/xmake.lua

@@ -1,11 +1,13 @@
 package("mem")
 
+    set_kind("library", {headeronly = true})
     set_homepage("https://github.com/0x1F9F1/mem")
     set_description("A collection of C++11 headers useful for reverse engineering")
 
-    set_urls("https://github.com/0x1F9F1/mem.git")
+    add_urls("https://github.com/0x1F9F1/mem/archive/refs/tags/$(version).tar.gz",
+             "https://github.com/0x1F9F1/mem.git")
 
-    add_versions("0.1.0", "db0289a50da77101c4e827b92b39f06ba2e90f76")
+    add_versions("1.0.0", "db1e58b040ea39ec5794fc1dcc6749c81b062579d9f6b086d035266456bccaf3")
 
     on_install("windows", function (package)
         os.cp("include/mem", package:installdir("include"))