xbps: Change default XBPS mirror address

This commit is contained in:
Michael Aldridge 2018-09-01 11:33:08 -07:00 committed by Enno Boland
parent 6d8c18ff7e
commit b4348a979e

View file

@ -1,7 +1,7 @@
# Template file for 'xbps' # Template file for 'xbps'
pkgname=xbps pkgname=xbps
version=0.53 version=0.53
revision=5 revision=6
bootstrap=yes bootstrap=yes
build_style=configure build_style=configure
short_desc="The XBPS package system utilities" short_desc="The XBPS package system utilities"
@ -33,15 +33,15 @@ do_configure() {
post_install() { post_install() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
aarch64*) # XXX different repo location aarch64*) # XXX different repo location
echo "repository=https://repo.voidlinux.eu/current/aarch64" > \ echo "repository=https://alpha.de.repo.voidlinux.org/current/aarch64" > \
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf ${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
;; ;;
*-musl) # XXX different repo location *-musl) # XXX different repo location
echo "repository=https://repo.voidlinux.eu/current/musl" > \ echo "repository=https://alpha.de.repo.voidlinux.org/current/musl" > \
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf ${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
;; ;;
*) *)
echo "repository=https://repo.voidlinux.eu/current" > \ echo "repository=https://alpha.de.repo.voidlinux.org/current" > \
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf ${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
;; ;;
esac esac