diff --git a/dev-ml/opam-installer/opam-installer-2.2.1-r1.ebuild b/dev-ml/opam-installer/opam-installer-2.2.1-r1.ebuild index de01941a57fac..1540654e448ab 100644 --- a/dev-ml/opam-installer/opam-installer-2.2.1-r1.ebuild +++ b/dev-ml/opam-installer/opam-installer-2.2.1-r1.ebuild @@ -7,7 +7,7 @@ inherit dune DESCRIPTION="Core installer for opam packages" HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" -SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-${PV}.tar.gz" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" diff --git a/dev-ml/opam-installer/opam-installer-2.3.0.ebuild b/dev-ml/opam-installer/opam-installer-2.3.0.ebuild index b3c525343bd83..78b608c578499 100644 --- a/dev-ml/opam-installer/opam-installer-2.3.0.ebuild +++ b/dev-ml/opam-installer/opam-installer-2.3.0.ebuild @@ -7,7 +7,7 @@ inherit dune DESCRIPTION="Core installer for opam packages" HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" -SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-${PV}.tar.gz" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" diff --git a/dev-ml/opam-installer/opam-installer-2.4.1.ebuild b/dev-ml/opam-installer/opam-installer-2.4.1.ebuild index 7ca848dc3a1b3..0fa7b1807abcc 100644 --- a/dev-ml/opam-installer/opam-installer-2.4.1.ebuild +++ b/dev-ml/opam-installer/opam-installer-2.4.1.ebuild @@ -7,7 +7,7 @@ inherit dune DESCRIPTION="Core installer for opam packages" HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" -SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-${PV}.tar.gz" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1" diff --git a/dev-ml/opam-installer/opam-installer-2.5.1.ebuild b/dev-ml/opam-installer/opam-installer-2.5.1.ebuild index 1a23dc5665657..9398e779d6031 100644 --- a/dev-ml/opam-installer/opam-installer-2.5.1.ebuild +++ b/dev-ml/opam-installer/opam-installer-2.5.1.ebuild @@ -7,7 +7,7 @@ inherit dune DESCRIPTION="Core installer for opam packages" HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" -SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-${PV}.tar.gz" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" S="${WORKDIR}/opam-${PV/_/-}" LICENSE="LGPL-2.1"