mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
void-repo-nonfree: switch to the new url for musl repos.
This commit is contained in:
parent
42be387677
commit
1559db22be
1 changed files with 13 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'void-repo-nonfree'
|
# Template file for 'void-repo-nonfree'
|
||||||
pkgname=void-repo-nonfree
|
pkgname=void-repo-nonfree
|
||||||
version=8
|
version=9
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=meta
|
build_style=meta
|
||||||
|
@ -11,13 +11,19 @@ homepage="http://www.voidlinux.eu"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/xbps.d
|
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
|
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
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue