From 81c63d1d622be46bf89f8467d6a3bf9fc54522ea Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 May 2015 17:48:17 +0200 Subject: [PATCH] xbps: add main repo for musl. --- srcpkgs/xbps/template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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"