diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index e0e91c9c47e..b43eddc5ef2 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.44.1 -revision=3 +revision=4 bootstrap=yes build_style=configure short_desc="The XBPS package system utilities" @@ -33,6 +33,14 @@ do_configure() { HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \ ${CHROOT_READY:+--enable-tests} } +post_install() { + case "$XBPS_TARGET_MACHINE" in + *-musl) # XXX different repo location + echo "repository=http://musl.voidlinux.net/current" > \ + ${DESTDIR}/usr/share/xbps.d/00-repository-main.conf + ;; + esac +} libxbps_package() { short_desc+=" - runtime library"