void-repo-nonfree: update for musl.
This commit is contained in:
parent
81c63d1d62
commit
2c9349f0dd
1 changed files with 5 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue