dev-vcs/git-extras: add 6.4.0

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-04-25 04:00:56 +01:00
parent 2ce80c7328
commit 083aa8a78e
2 changed files with 56 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST git-extras-6.3.0.tar.gz 159258 BLAKE2B 263e192015e46da7867f131c19ae47243e60355cba02b1860b45abafdc4fc6adf916dffce58b853960d8bb22f5da067e1dca6ed0b02f108953571896d1c981c4 SHA512 2be0a6f3f3907754638ffd975b0b28908e8c9490418fa170f47a73a2cdc9d0b8fd5d11e4734440ffe3114cd63aa7decf8b1cafc78a63d2794d06f7fcd2925ead
DIST git-extras-6.4.0.tar.gz 163508 BLAKE2B bffbc8efcf1cf030bceb20b953e1cbbc067c8383ced38b786c21eb9bd9b7d3febd3d8aae652c0dd731de688d3cfa225c3aec91d6b9c590459b576db113ca0af0 SHA512 1b28d09d294f6d060b7639401e56c8d5e762614b5f6928ee6267e49af943e349e2399558ebac60008e8240218c13f00f8aea7dc07b71fec1e2dc25487bc847a3

View File

@@ -0,0 +1,55 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Git utilities -- repo summary, repl, changelog population, and many more"
HOMEPAGE="https://github.com/tj/git-extras"
SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x64-macos"
RDEPEND="
app-shells/bash
dev-vcs/git
"
PATCHES=(
"${FILESDIR}"/${PN}-6.1.0-no-bash-completion-install.patch
)
src_prepare() {
default
# For now, don't force including the git completion
# sed -i -e "1 i source $(get_bashcompdir)\/git" etc/bash_completion.sh || die
}
src_configure() {
return
}
src_compile() {
return
}
src_install() {
emake \
DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \
SYSCONFDIR="${EPREFIX}/etc" \
install
# TODO: Unfortunately, none of the completion seems to
# actually work for me yet(?)
#newbashcomp "${S}"/etc/bash_completion.sh ${PN}
#insinto /usr/share/zsh/site-functions
#newins "${S}"/etc/${PN}-completion.zsh _${PN}
#insinto /usr/share/fish/vendor_completions.d
#doins "${S}"/etc/${PN}.fish
}