OSDN Git Service

void-unofficial-repo-66: use osdn repository, offer choice of mirrors. unofficial-repo
authormobinmob <mobinmob@disroot.org>
Mon, 28 Feb 2022 17:07:49 +0000 (19:07 +0200)
committermobinmob <mobinmob@disroot.org>
Mon, 28 Feb 2022 17:07:49 +0000 (19:07 +0200)
srcpkgs/void-unofficial-repo-66/template

index f601dda..0812d27 100644 (file)
@@ -10,6 +10,15 @@ homepage="https://codeberg.org/mobinmob/66-voidlinux"
 
 do_install() {
        vmkdir usr/share/xbps.d
-       echo "repository=https://codeberg.org/mobinmob/void-66/raw/branch/master" >> \
+       # The osdn network does not seem to allow xbps to download directly
+       # using the main redirecting links. The issue has been reported.
+       # Until it is adressed I am using including three mirrors with the 
+       # first one uncommented. A used can copy the file under /etc/xbps and
+       # uncomment a different mirror or more than one.
+       echo "repository=https://mirrors.gigenet.com/OSDN//storage/g/a/av/avyssos/repo" >> \
 ${DESTDIR}/usr/share/xbps.d/49-unofficial-repository-66.conf
+       echo "#repository=https://ftp.halifax.rwth-aachen.de/osdn/storage/g/a/av/avyssos/repo" >> \
+ ${DESTDIR}/usr/share/xbps.d/49-unofficial-repository-66.conf
+       echo "#repository=https://free.nchc.org.tw/osdn//storage/g/a/av/avyssos/repo" >> \
+ ${DESTDIR}/usr/share/xbps.d/49-unofficial-repository-66.conf  
 }