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
1 changed files with 7 additions and 1 deletions

View File

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