diff options
| author | ruki <[email protected]> | 2024-06-15 00:54:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-06-15 00:54:38 +0800 |
| commit | 9899ce267b0728176efec6d588cb158aa0d4f668 (patch) | |
| tree | edad5a1ace0f140a308f811aa288a9a542c33fd0 /core/xpack.lua | |
| parent | 7d0b596dec5177ec3702457bda64560cf65739ac (diff) | |
fix archive
Diffstat (limited to 'core/xpack.lua')
| -rw-r--r-- | core/xpack.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/xpack.lua b/core/xpack.lua index e7c3bb3c4..e4999775a 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -115,7 +115,7 @@ xpack("xmakesrc") on_buildcmd(function (package, batchcmds) local format = package:format() - if format == "srpm" then + if format == "srpm" or format == "deb" then batchcmds:runv("./configure") batchcmds:runv("make") end @@ -125,7 +125,7 @@ xpack("xmakesrc") local format = package:format() if format == "runself" then batchcmds:runv("./scripts/get.sh", {"__local__"}) - elseif format == "srpm" then + elseif format == "srpm" or format == "deb" then batchcmds:runv("make", {"install", path(package:install_rootdir(), function (p) return "PREFIX=" .. p end)}) end end) |
