diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-01-21 16:52:22 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-01-21 16:54:24 +0200 |
commit | 5539ac3a5d75f535322462292cc494c0636fd490 (patch) | |
tree | 073c9916a90ab270fdea90360327ba57f230741f | |
parent | package.mask: and one more mask (diff) | |
download | guru-5539ac3a.tar.gz guru-5539ac3a.tar.bz2 guru-5539ac3a.zip |
app-misc/fastfetch: add 554.0, drop 20220120
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
-rw-r--r-- | app-misc/fastfetch/Manifest | 2 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-554.0.ebuild (renamed from app-misc/fastfetch/fastfetch-20220120.ebuild) | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 067d516a2..376595933 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1 +1 @@ -DIST fastfetch-20220120.tar.gz 177779 BLAKE2B 348b42b132c033db3830f74c2aab9ee40d88842c86ff395e14ba74863dbb353ad1f017ca9d8c136142e32c0492af193b735a6aab9bc973ace6d22162eb73d851 SHA512 1c4e8bd6ab4d21fec732007c3026ea690486ea5f3749115204235cff918e3e0479013ef19c65aeea6e38049a1d3fe0a05f1d1750cbae2b09e9caa64fe4945f2e +DIST fastfetch-554.0.tar.gz 177779 BLAKE2B 348b42b132c033db3830f74c2aab9ee40d88842c86ff395e14ba74863dbb353ad1f017ca9d8c136142e32c0492af193b735a6aab9bc973ace6d22162eb73d851 SHA512 1c4e8bd6ab4d21fec732007c3026ea690486ea5f3749115204235cff918e3e0479013ef19c65aeea6e38049a1d3fe0a05f1d1750cbae2b09e9caa64fe4945f2e diff --git a/app-misc/fastfetch/fastfetch-20220120.ebuild b/app-misc/fastfetch/fastfetch-554.0.ebuild index 8795bd438..583cb8bdc 100644 --- a/app-misc/fastfetch/fastfetch-20220120.ebuild +++ b/app-misc/fastfetch/fastfetch-554.0.ebuild @@ -6,8 +6,6 @@ EAPI=8 inherit bash-completion-r1 cmake COMMIT="e30a64e97e0bf1c6bf68aa6f54a25c5995c2fdd2" -VERSION_MAJOR="554" -VERSION_MINOR="cd4739e" DESCRIPTION="Like neofetch but faster" HOMEPAGE="https://github.com/LinusDierheimer/fastfetch" @@ -58,10 +56,13 @@ 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 comes from git, fake it sed -i -e " - s/\(PROJECT_VERSION\) .*$/\1 "r${VERSION_MAJOR}.${VERSION_MINOR}")/ - s/\(PROJECT_VERSION_MAJOR\) .*$/\1 "${VERSION_MAJOR}")/" CMakeLists.txt || die "Cannot patch version" + s/\(PROJECT_VERSION\) .*$/\1 \"r${VERSION_MAJOR}.${VERSION_MINOR}\")/ + s/\(PROJECT_VERSION_MAJOR\) .*$/\1 \"${VERSION_MAJOR}\")/" CMakeLists.txt || die "Cannot patch version" cmake_src_configure } |