commit:     7f4b3a7b564cc00490b9cd495a9a3c63badae166
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 13:27:21 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 14:06:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4b3a7b

app-arch/rar: rename use flag all_sfx to all-sfx

Closes: https://bugs.gentoo.org/695030
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-arch/rar/metadata.xml               |  2 +-
 app-arch/rar/rar-6.0.2_p20210611.ebuild | 12 ++++++------
 app-arch/rar/rar-6.10_p20220124.ebuild  | 10 +++++-----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/app-arch/rar/metadata.xml b/app-arch/rar/metadata.xml
index 176236e008c3..9ea948c09f0c 100644
--- a/app-arch/rar/metadata.xml
+++ b/app-arch/rar/metadata.xml
@@ -3,7 +3,7 @@
 <pkgmetadata>
        <!-- maintainer-needed -->
        <use>
-               <flag name="all_sfx">
+               <flag name="all-sfx">
                        Install all SFX (Self-Extracting) files rather than 
just the native
                        format (allows creation of Windows EXEs on Linux ELF 
systems)
                </flag>

diff --git a/app-arch/rar/rar-6.0.2_p20210611.ebuild 
b/app-arch/rar/rar-6.0.2_p20210611.ebuild
index e94158b2ceaf..ce715742716d 100644
--- a/app-arch/rar/rar-6.0.2_p20210611.ebuild
+++ b/app-arch/rar/rar-6.0.2_p20210611.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -10,7 +10,7 @@ 
URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz";
 URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe";
 SRC_URI="x86? ( ${URI_x86} )
        amd64? ( ${URI_amd64} )
-       all_sfx? (
+       all-sfx? (
                ${URI_x86}
                ${URI_amd64}
                ${URI_w64}
@@ -19,10 +19,10 @@ SRC_URI="x86? ( ${URI_x86} )
 LICENSE="RAR BSD BSD-2"
 SLOT="0"
 KEYWORDS="-* amd64 x86"
-IUSE="all_sfx"
+IUSE="all-sfx"
 RESTRICT="mirror bindist"
 
-DEPEND="all_sfx? ( app-arch/unrar )"
+DEPEND="all-sfx? ( app-arch/unrar )"
 RDEPEND="sys-libs/glibc"
 
 S="${WORKDIR}/${PN}"
@@ -65,7 +65,7 @@ src_unpack() {
 
        rm -f "${S}"/license.txt
 
-       if use all_sfx ; then
+       if use all-sfx ; then
                mkdir sfx
                cd sfx
                for _file in ${A}; do
@@ -99,7 +99,7 @@ src_install() {
        dosym ../rar/unrar /opt/bin/unrar
 
        insinto /opt/rar
-       if use all_sfx ; then
+       if use all-sfx ; then
                doins "${WORKDIR}"/sfx/*.{sfx,SFX}
        else
                doins default.sfx

diff --git a/app-arch/rar/rar-6.10_p20220124.ebuild 
b/app-arch/rar/rar-6.10_p20220124.ebuild
index a78f4de2de31..249e2c70a40d 100644
--- a/app-arch/rar/rar-6.10_p20220124.ebuild
+++ b/app-arch/rar/rar-6.10_p20220124.ebuild
@@ -10,7 +10,7 @@ 
URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz";
 URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe";
 SRC_URI="x86? ( ${URI_x86} )
        amd64? ( ${URI_amd64} )
-       all_sfx? (
+       all-sfx? (
                ${URI_x86}
                ${URI_amd64}
                ${URI_w64}
@@ -19,10 +19,10 @@ SRC_URI="x86? ( ${URI_x86} )
 LICENSE="RAR BSD BSD-2"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE="all_sfx"
+IUSE="all-sfx"
 RESTRICT="mirror bindist"
 
-DEPEND="all_sfx? ( app-arch/unrar )"
+DEPEND="all-sfx? ( app-arch/unrar )"
 RDEPEND="sys-libs/glibc"
 
 S="${WORKDIR}/${PN}"
@@ -65,7 +65,7 @@ src_unpack() {
 
        rm -f "${S}"/license.txt
 
-       if use all_sfx ; then
+       if use all-sfx ; then
                mkdir sfx
                cd sfx
                for _file in ${A}; do
@@ -99,7 +99,7 @@ src_install() {
        dosym ../rar/unrar /opt/bin/unrar
 
        insinto /opt/rar
-       if use all_sfx ; then
+       if use all-sfx ; then
                doins "${WORKDIR}"/sfx/*.{sfx,SFX}
        else
                doins default.sfx

Reply via email to