void-repo-nonfree: switch to the new url for musl repos.
This commit is contained in:
parent
42be387677
commit
1559db22be
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'void-repo-nonfree'
|
||||
pkgname=void-repo-nonfree
|
||||
version=8
|
||||
version=9
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
|
@ -11,13 +11,19 @@ homepage="http://www.voidlinux.eu"
|
|||
|
||||
do_install() {
|
||||
vmkdir usr/share/xbps.d
|
||||
echo "repository=https://repo.voidlinux.eu/current/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||
echo "repository=https://repo.voidlinux.eu/current/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) sed -i 's,https://repo.voidlinux.eu,http://muslrepo.voidlinux.eu,g' ${DESTDIR}/usr/share/xbps.d/*.conf;;
|
||||
*-musl)
|
||||
echo "repository=https://repo.voidlinux.eu/current/musl/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||
echo "repository=https://repo.voidlinux.eu/current/musl/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
;;
|
||||
*)
|
||||
echo "repository=https://repo.voidlinux.eu/current/nonfree" > \
|
||||
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
|
||||
echo "repository=https://repo.voidlinux.eu/current/debug" > \
|
||||
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue