# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 CRATES="" inherit cargo shell-completion DESCRIPTION="Automatically absorb staged changes into git current branch" HOMEPAGE="https://github.com/tummychow/git-absorb" SRC_URI="https://github.com/tummychow/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz" LICENSE="BSD" # Dependent crate licenses LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016" SLOT="0" KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-libs/libgit2-1.9:= completions/${PN}.${shell} \ || die done } src_install() { cargo_src_install doman Documentation/${PN}.1 newbashcomp "completions/${PN}.bash" "${PN}" dofishcomp "completions/${PN}.fish" dozshcomp "completions/${PN}.zsh" default }