gentoo/dev-util/git-fixup/git-fixup-1.6.1.ebuild
Matt Turner a8cbbe6b8f
dev-util/git-fixup: Add new package, version 1.6.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2024-05-22 12:49:31 -04:00

27 lines
605 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} = 9999* ]]; then
EGIT_REPO_URI="https://github.com/keis/git-fixup"
inherit git-r3
else
SRC_URI="https://github.com/keis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Fighting the copy-paste element of your rebase workflow"
HOMEPAGE="https://github.com/keis/git-fixup"
LICENSE="ISC"
SLOT="0"
RDEPEND="!<app-portage/mgorny-dev-scripts-53"
src_compile() { :; }
src_install() {
emake install{,-fish,-zsh} DESTDIR="${ED}" PREFIX="${EPREFIX}/usr"
}