summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/pack/deb/main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/pack/deb/main.lua b/xmake/plugins/pack/deb/main.lua
index 711ee5d4a..501af8c57 100644
--- a/xmake/plugins/pack/deb/main.lua
+++ b/xmake/plugins/pack/deb/main.lua
@@ -123,6 +123,8 @@ function _get_specvars(package)
end
specvars.PACKAGE_DATE = datestr or ""
local author = package:get("author") or "unknown <[email protected]>"
+ local maintainer = package:get("maintainer") or author
+ specvars.PACKAGE_MAINTAINER = maintainer
specvars.PACKAGE_COPYRIGHT = os.date("%Y") .. " " .. author
specvars.PACKAGE_INSTALLCMDS = function ()
local prefixdir = package:get("prefixdir")