void-repo-nonfree: add aarch64 repo

This commit is contained in:
John 2018-11-16 23:06:23 +01:00 committed by Enno Boland
parent 7c70a4d67c
commit c65fed3f0e

View File

@ -1,7 +1,7 @@
# Template file for 'void-repo-nonfree' # Template file for 'void-repo-nonfree'
pkgname=void-repo-nonfree pkgname=void-repo-nonfree
version=9 version=9
revision=2 revision=3
noarch=yes noarch=yes
build_style=meta build_style=meta
short_desc="Void Linux drop-in file for the nonfree repository" short_desc="Void Linux drop-in file for the nonfree repository"
@ -12,6 +12,12 @@ homepage="http://www.voidlinux.eu"
do_install() { do_install() {
vmkdir usr/share/xbps.d vmkdir usr/share/xbps.d
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
aarch64*)
echo "repository=https://alpha.de.repo.voidlinux.org/current/aarch64/nonfree" > \
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf
echo "repository=https://alpha.de.repo.voidlinux.org/current/aarch64/debug" > \
${DESTDIR}/usr/share/xbps.d/20-repository-debug.conf
;;
*-musl) *-musl)
echo "repository=https://alpha.de.repo.voidlinux.org/current/musl/nonfree" > \ echo "repository=https://alpha.de.repo.voidlinux.org/current/musl/nonfree" > \
${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf ${DESTDIR}/usr/share/xbps.d/10-repository-nonfree.conf