summaryrefslogtreecommitdiff
blob: 00eb20f5567a4a325c8a2b4e5d40134989045083 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="rundeck-cli"
MY_P="rundeck-cli-${PV}"

inherit java-pkg-2

DESCRIPTION="Command line tool for rundeck"
HOMEPAGE="http://www.rundeck.com/open-source"
SRC_URI="https://github.com/rundeck/${MY_PN}/releases/download/v${PV}/${MY_P}-all.jar"
S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=virtual/jre-1.8"

src_install() {
	java-pkg_newjar "${DISTDIR}"/${MY_P}-all.jar ${MY_PN}.jar
	java-pkg_dolauncher rd
}