summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-07-07 13:53:36 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-07-07 13:53:36 +0300
commit3e73577a7504992d2d268fbf5ee43032c012d1f7 (patch)
tree0baceb9a0699a66d8c7875bd89c26f29881ce366 /sys-apps
parentsys-apps/bat: Version updated to 0.18.1, with changes: (diff)
downloadgentoo-3e73577a7504992d2d268fbf5ee43032c012d1f7.tar.gz
gentoo-3e73577a7504992d2d268fbf5ee43032c012d1f7.tar.bz2
gentoo-3e73577a7504992d2d268fbf5ee43032c012d1f7.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/bat/bat-0.18.1.ebuild7
1 files 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 535c276e0f7a..ca85a16743f6 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}
}