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:
Juan RP 2019-06-06 21:04:06 +02:00
parent 0ba9b34ead
commit 248e301ff7
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ genpkg() {
local _conf_files="$(expand_destdir "$conf_files")"
local _alternatives="$(echo $alternatives)"
local _tags="$(echo $tags)"
local _changelog="$(echo $changelog)"
msg_normal "Creating $binpkg for repository $pkgdir ...\n"
@ -74,6 +75,7 @@ genpkg() {
${_alternatives:+--alternatives "${_alternatives}"} \
${_preserve:+--preserve} \
${tags:+--tags "${tags}"} \
${_changelog:+--changelog "${_changelog}"} \
--architecture ${arch} \
--homepage "${homepage}" \
--license "${license}" \