xbps-src: don't set a default for XBPS_PKG_COMPTYPE.

Use xbps-create(1) defaults:

 - xbps<0.59 defaults to xz
 - xbps>=0.59 defaults to zstd
This commit is contained in:
Juan RP 2020-03-03 10:26:12 +01:00
parent 5555b1c065
commit 7fe90df2b1
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -76,13 +76,13 @@ genpkg() {
${_preserve:+--preserve} \
${tags:+--tags "${tags}"} \
${_changelog:+--changelog "${_changelog}"} \
${XBPS_PKG_COMPTYPE:+--compression $XBPS_PKG_COMPTYPE} \
--architecture ${arch} \
--homepage "${homepage}" \
--license "${license}" \
--maintainer "${maintainer}" \
--desc "${desc}" \
--pkgver "${pkgver}" \
--compression ${XBPS_PKG_COMPTYPE:=xz} \
--quiet \
${PKGDESTDIR}
rval=$?