xbps: find aarch64 repo.

This commit is contained in:
Leah Neukirchen 2017-01-11 21:55:44 +01:00
parent e61f199b87
commit 302cd5cb14

View file

@ -1,7 +1,7 @@
# Template file for 'xbps' # Template file for 'xbps'
pkgname=xbps pkgname=xbps
version=0.51 version=0.51
revision=14 revision=15
bootstrap=yes bootstrap=yes
build_style=configure build_style=configure
short_desc="The XBPS package system utilities" short_desc="The XBPS package system utilities"
@ -42,6 +42,10 @@ do_configure() {
} }
post_install() { post_install() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
aarch64*) # XXX different repo location
echo "repository=https://repo.voidlinux.eu/current/aarch64" > \
${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://repo.voidlinux.eu/current/musl" > \
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf ${DESTDIR}/usr/share/xbps.d/00-repository-main.conf