From cabdeb1b7dd5d0aa1249677843da0d94231b3370 Mon Sep 17 00:00:00 2001 From: NP-Hardass Date: Mon, 13 Mar 2017 00:51:43 -0400 Subject: app-emulation/wine: Fix SRC_URI for >=2.1, thanks to wraeth Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- app-emulation/wine/wine-2.1.ebuild | 4 ++-- app-emulation/wine/wine-2.2.ebuild | 4 ++-- app-emulation/wine/wine-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app-emulation/wine') diff --git a/app-emulation/wine/wine-2.1.ebuild b/app-emulation/wine/wine-2.1.ebuild index 261ba4f70639..c853f2956816 100644 --- a/app-emulation/wine/wine-2.1.ebuild +++ b/app-emulation/wine/wine-2.1.ebuild @@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then SRC_URI="" #KEYWORDS="" else - MAJOR_V=$(get_version_component_range 1-2) - SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz" + MAJOR_V=$(get_version_component_range 1) + SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" fi diff --git a/app-emulation/wine/wine-2.2.ebuild b/app-emulation/wine/wine-2.2.ebuild index 261ba4f70639..c853f2956816 100644 --- a/app-emulation/wine/wine-2.2.ebuild +++ b/app-emulation/wine/wine-2.2.ebuild @@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then SRC_URI="" #KEYWORDS="" else - MAJOR_V=$(get_version_component_range 1-2) - SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz" + MAJOR_V=$(get_version_component_range 1) + SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" fi diff --git a/app-emulation/wine/wine-9999.ebuild b/app-emulation/wine/wine-9999.ebuild index 261ba4f70639..c853f2956816 100644 --- a/app-emulation/wine/wine-9999.ebuild +++ b/app-emulation/wine/wine-9999.ebuild @@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then SRC_URI="" #KEYWORDS="" else - MAJOR_V=$(get_version_component_range 1-2) - SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz" + MAJOR_V=$(get_version_component_range 1) + SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" fi -- cgit v1.2.3-65-gdbad