summaryrefslogtreecommitdiff
path: root/dev-util/git-fixup/git-fixup-1.6.1.ebuild
blob: 8ea2e80d5334d9796dd1a65f9b26c33747744b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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"
}