diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-06-08 09:40:09 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-06-08 09:40:20 +0200 |
commit | ebd9cfb6764a6a659448848289dbd41363d8ca73 (patch) | |
tree | a56dc0ce65fe87aa0a9e26047af47ba03e5f7b0d /app-admin | |
parent | dev-cpp/notcurses: 2.3.1 -> 2.3.2 (diff) | |
download | gentoo-ebd9cfb6764a6a659448848289dbd41363d8ca73.tar.gz gentoo-ebd9cfb6764a6a659448848289dbd41363d8ca73.tar.bz2 gentoo-ebd9cfb6764a6a659448848289dbd41363d8ca73.zip |
app-admin/keepassxc: Make sure releases are be seen as releases
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/keepassxc/keepassxc-2.6.5.ebuild | 4 | ||||
-rw-r--r-- | app-admin/keepassxc/keepassxc-9999.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app-admin/keepassxc/keepassxc-2.6.5.ebuild b/app-admin/keepassxc/keepassxc-2.6.5.ebuild index f5e3ee10af8a..4b62059e2dca 100644 --- a/app-admin/keepassxc/keepassxc-2.6.5.ebuild +++ b/app-admin/keepassxc/keepassxc-2.6.5.ebuild @@ -66,6 +66,10 @@ src_prepare() { use test || \ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die + if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != 9999 ]] && [[ ! -f .version ]] ; then + printf '%s' "${PV}" > .version || die + fi + cmake_src_prepare } diff --git a/app-admin/keepassxc/keepassxc-9999.ebuild b/app-admin/keepassxc/keepassxc-9999.ebuild index 0c6789f64958..7eb04e317124 100644 --- a/app-admin/keepassxc/keepassxc-9999.ebuild +++ b/app-admin/keepassxc/keepassxc-9999.ebuild @@ -66,6 +66,10 @@ src_prepare() { use test || \ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die + if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != 9999 ]] && [[ ! -f .version ]] ; then + printf '%s' "${PV}" > .version || die + fi + cmake_src_prepare } |