common/hooks/do-pkg/00-gen-pkg: add new sourcepkg property to packages

added in xbps 0.60
This commit is contained in:
classabbyamp 2025-06-19 11:37:41 -04:00 committed by classabbyamp
parent 5456f283a3
commit 5da08192f2
2 changed files with 2 additions and 1 deletions

View file

@ -88,6 +88,7 @@ genpkg() {
--maintainer "${maintainer}" \ --maintainer "${maintainer}" \
--desc "${desc}" \ --desc "${desc}" \
--pkgver "${pkgver}" \ --pkgver "${pkgver}" \
--sourcepkg "${sourcepkg}" \
--quiet \ --quiet \
${PKGDESTDIR} ${PKGDESTDIR}
rval=$? rval=$?

View file

@ -377,7 +377,7 @@ setup_distfiles_mirror() {
# main() # main()
# #
readonly PROGNAME="${0##*/}" readonly PROGNAME="${0##*/}"
readonly XBPS_VERSION_REQ="0.55" readonly XBPS_VERSION_REQ="0.60"
XBPS_VERSION=$(xbps-uhelper -V) XBPS_VERSION=$(xbps-uhelper -V)
XBPS_VERSION=${XBPS_VERSION%%API*} XBPS_VERSION=${XBPS_VERSION%%API*}
XBPS_VERSION=${XBPS_VERSION##*:} XBPS_VERSION=${XBPS_VERSION##*:}