commit:     1dbfd4afdf92d98d4f1d080559e344014e91638a
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Mon Apr  7 15:49:42 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Apr  7 16:10:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dbfd4af

app-admin/keepassxc: minor tweaks

- remove github from HOMEPAGE
- fix LICENSE
- simplify src_prepare
  - use bash's `=~` for regex matching
  - use plain `echo` instead of `printf '%s'

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/41475
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-admin/keepassxc/keepassxc-2.7.10.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-admin/keepassxc/keepassxc-2.7.10.ebuild 
b/app-admin/keepassxc/keepassxc-2.7.10.ebuild
index b0be6548e2c5..c82d98106dc3 100644
--- a/app-admin/keepassxc/keepassxc-2.7.10.ebuild
+++ b/app-admin/keepassxc/keepassxc-2.7.10.ebuild
@@ -6,8 +6,7 @@ EAPI=8
 inherit cmake flag-o-matic xdg
 
 DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
-HOMEPAGE="https://keepassxc.org/
-       https://github.com/keepassxreboot/keepassxc/";
+HOMEPAGE="https://keepassxc.org";
 
 if [[ "${PV}" = *9999* ]] ; then
        inherit git-r3
@@ -27,7 +26,8 @@ else
        KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
 fi
 
-LICENSE="LGPL-2.1 GPL-2 GPL-3"
+# COPYING order
+LICENSE="|| ( GPL-2 GPL-3 ) BSD LGPL-2.1 MIT LGPL-2 CC0-1.0 Apache-2.0 GPL-2+ 
BSD-2"
 SLOT="0"
 IUSE="X autotype browser doc keeshare +keyring +network +ssh-agent test 
yubikey"
 
@@ -73,8 +73,8 @@ BDEPEND="
 PATCHES=( "${FILESDIR}/${PN}-2.7.10-tests.patch" )
 
 src_prepare() {
-       if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != *9999 ]] ; then
-               printf '%s' "${PV}" > .version || die
+       if ! [[ "${PV}" =~ _beta|9999 ]]; then
+               echo "${PV}" > .version || die
        fi
 
        cmake_src_prepare

Reply via email to