From 43ac546cbd551bf06ae37a8211c8a65d9eadbb0b Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 25 Nov 2023 00:51:19 +0800 Subject: add set_author and set_maintainer --- xmake/plugins/pack/xpack.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmake/plugins/pack') diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua index 4bea5fb86..64e9d77dc 100644 --- a/xmake/plugins/pack/xpack.lua +++ b/xmake/plugins/pack/xpack.lua @@ -296,6 +296,8 @@ function xpack:specvars() PACKAGE_TITLE = self:title() or "", PACKAGE_DESCRIPTION = self:description() or "", PACKAGE_FILENAME = self:filename(), + PACKAGE_AUTHOR = self:get("author") or "", + PACKAGE_MAINTAINER = self:get("maintainer") or self:get("author") or "", PACKAGE_HOMEPAGE = self:get("homepage") or "", PACKAGE_COPYRIGHT = self:get("copyright") or "", PACKAGE_COMPANY = self:get("company") or "", -- cgit v1.3.1