summaryrefslogtreecommitdiff
blob: 5e2bdee57fc140f5a5bb78f5ebc7350f3bd6dc60 (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
27
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit out-of-source

if [[ ${PV} == *9999 ]]; then
	EGIT_REPO_URI="https://bitbucket.org/gentoo/${PN}.git"
	inherit autotools git-r3
else
	SRC_URI="https://www.bitbucket.org/gentoo/${PN}/downloads/${P}.tar.bz2"
	KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="A repository commit helper"
HOMEPAGE="https://bitbucket.org/gentoo/repo-commit/"

LICENSE="BSD"
SLOT="0"

RDEPEND="sys-apps/portage"

src_prepare() {
	default
	[[ ${PV} == *9999 ]] && eautoreconf
}