commit:     e7d1403ea1eb8de11db7967e9fa23a40d3285fa0
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Sat Jan 22 12:47:21 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Jan 22 12:47:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7d1403e

app-misc/fastfetch: add 0.554, drop 554.0

Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>

 app-misc/fastfetch/Manifest                                          | 2 +-
 .../fastfetch/{fastfetch-554.0.ebuild => fastfetch-0.554.ebuild}     | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index 376595933..6eb86a305 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1 +1 @@
-DIST fastfetch-554.0.tar.gz 177779 BLAKE2B 
348b42b132c033db3830f74c2aab9ee40d88842c86ff395e14ba74863dbb353ad1f017ca9d8c136142e32c0492af193b735a6aab9bc973ace6d22162eb73d851
 SHA512 
1c4e8bd6ab4d21fec732007c3026ea690486ea5f3749115204235cff918e3e0479013ef19c65aeea6e38049a1d3fe0a05f1d1750cbae2b09e9caa64fe4945f2e
+DIST fastfetch-0.554.tar.gz 177779 BLAKE2B 
348b42b132c033db3830f74c2aab9ee40d88842c86ff395e14ba74863dbb353ad1f017ca9d8c136142e32c0492af193b735a6aab9bc973ace6d22162eb73d851
 SHA512 
1c4e8bd6ab4d21fec732007c3026ea690486ea5f3749115204235cff918e3e0479013ef19c65aeea6e38049a1d3fe0a05f1d1750cbae2b09e9caa64fe4945f2e

diff --git a/app-misc/fastfetch/fastfetch-554.0.ebuild 
b/app-misc/fastfetch/fastfetch-0.554.ebuild
similarity index 93%
rename from app-misc/fastfetch/fastfetch-554.0.ebuild
rename to app-misc/fastfetch/fastfetch-0.554.ebuild
index 583cb8bdc..2c18a7687 100644
--- a/app-misc/fastfetch/fastfetch-554.0.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.554.ebuild
@@ -56,12 +56,11 @@ src_configure() {
        use xfce || disable_check XFCONF libxfconf
        use xrandr || disable_check XRANDR xrandr
 
-       VERSION_MAJOR="$(ver_cut 1)"
-       VERSION_MINOR="$(ver_cut 2)"
+       VERSION_MAJOR="$(ver_cut 2)"
 
        # version comes from git, fake it
        sed -i -e "
-               s/\(PROJECT_VERSION\) .*$/\1 
\"r${VERSION_MAJOR}.${VERSION_MINOR}\")/
+               s/\(PROJECT_VERSION\) .*$/\1 \"r${VERSION_MAJOR}.0\")/
                s/\(PROJECT_VERSION_MAJOR\) .*$/\1 \"${VERSION_MAJOR}\")/" 
CMakeLists.txt || die "Cannot patch version"
 
        cmake_src_configure

Reply via email to