hooks/00-gen-pkg: use xbps-create(1) --changelog if set on template.
Signed-off-by: Juan RP <xtraeme@gmail.com>
This commit is contained in:
parent
0ba9b34ead
commit
248e301ff7
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ genpkg() {
|
||||||
local _conf_files="$(expand_destdir "$conf_files")"
|
local _conf_files="$(expand_destdir "$conf_files")"
|
||||||
local _alternatives="$(echo $alternatives)"
|
local _alternatives="$(echo $alternatives)"
|
||||||
local _tags="$(echo $tags)"
|
local _tags="$(echo $tags)"
|
||||||
|
local _changelog="$(echo $changelog)"
|
||||||
|
|
||||||
msg_normal "Creating $binpkg for repository $pkgdir ...\n"
|
msg_normal "Creating $binpkg for repository $pkgdir ...\n"
|
||||||
|
|
||||||
|
@ -74,6 +75,7 @@ genpkg() {
|
||||||
${_alternatives:+--alternatives "${_alternatives}"} \
|
${_alternatives:+--alternatives "${_alternatives}"} \
|
||||||
${_preserve:+--preserve} \
|
${_preserve:+--preserve} \
|
||||||
${tags:+--tags "${tags}"} \
|
${tags:+--tags "${tags}"} \
|
||||||
|
${_changelog:+--changelog "${_changelog}"} \
|
||||||
--architecture ${arch} \
|
--architecture ${arch} \
|
||||||
--homepage "${homepage}" \
|
--homepage "${homepage}" \
|
||||||
--license "${license}" \
|
--license "${license}" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue