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:
@@ -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}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user