void-repo-nonfree: update for musl.

This commit is contained in:
Juan RP 2015-05-08 17:49:55 +02:00
parent 81c63d1d62
commit 2c9349f0dd

View file

@ -1,6 +1,6 @@
# Template file for 'void-repo-nonfree' # Template file for 'void-repo-nonfree'
pkgname=void-repo-nonfree pkgname=void-repo-nonfree
version=5 version=6
revision=1 revision=1
noarch=yes noarch=yes
build_style=meta build_style=meta
@ -15,6 +15,10 @@ do_install() {
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf ${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
echo "repository=http://repo.voidlinux.eu/current/debug" > \ echo "repository=http://repo.voidlinux.eu/current/debug" > \
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf ${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
case "$XBPS_TARGET_MACHINE" in
*-musl) sed -i 's,repo.voidlinux.eu,musl.voidlinux.net,g' ${DESTDIR}/usr/share/xbps.d/*.conf;;
esac
} }
void-repo-debug_package() { void-repo-debug_package() {