commit:     3e73577a7504992d2d268fbf5ee43032c012d1f7
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  7 10:53:36 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul  7 10:53:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e73577a

sys-apps/bat: update DESCRIPTION on 0.18.1

 - add missing dies,
 - remove arm keyword since it wasn't requested through bugzilla,
 - remove redundant DEPEND.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-apps/bat/bat-0.18.1.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sys-apps/bat/bat-0.18.1.ebuild b/sys-apps/bat/bat-0.18.1.ebuild
index 535c276e0f7..ca85a16743f 100644
--- a/sys-apps/bat/bat-0.18.1.ebuild
+++ b/sys-apps/bat/bat-0.18.1.ebuild
@@ -152,7 +152,7 @@ CRATES="
 
 inherit cargo
 
-DESCRIPTION="A cat(1) clone with wings."
+DESCRIPTION="cat(1) clone with syntax highlighting and Git integration"
 # Double check the homepage as the cargo_metadata crate
 # does not provide this value so instead repository is used
 HOMEPAGE="https://github.com/sharkdp/bat";
@@ -161,13 +161,12 @@ SRC_URI+=" $(cargo_crate_uris ${CRATES})"
 
 LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 CC0-1.0 ISC LGPL-3+ MIT Apache-2.0 
Unlicense ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 
 BDEPEND="virtual/pkgconfig"
 DEPEND="
        >=dev-libs/libgit2-1.1.0:=[threads]
        dev-libs/oniguruma:=
-       sys-libs/zlib
 "
 # >app-backup/bacula-9.2[qt5] has file collisions, #686118
 RDEPEND="${DEPEND}
@@ -196,7 +195,7 @@ src_install() {
 
        # Hack to find/install generated zsh completions files as it can be 
present in
        # multiple directories
-       local BUILD_DIR="$(dirname $(find target/release -name bat.zsh -print 
-quit))"
+       local BUILD_DIR="$(dirname $(find target/release -name bat.zsh -print 
-quit || die) || die)"
        insinto /usr/share/zsh/site-functions/
        newins "${BUILD_DIR}"/bat.zsh _${PN}
 }

Reply via email to