diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 11:28:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 11:28:04 +0100 |
commit | 47a1d2f184696819152c003a600beb058fbc4420 (patch) | |
tree | a85ea2840d8bb2bfaea292c4e2f363b663cc1ea1 /dev-java/coursier-bin/coursier-bin-2.1.2.ebuild | |
parent | 42564959cad787b3e82c0ebd8a8a6a59958e1370 (diff) |
gentoo auto-resync : 04:05:2023 - 11:28:04
Diffstat (limited to 'dev-java/coursier-bin/coursier-bin-2.1.2.ebuild')
-rw-r--r-- | dev-java/coursier-bin/coursier-bin-2.1.2.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/coursier-bin/coursier-bin-2.1.2.ebuild b/dev-java/coursier-bin/coursier-bin-2.1.2.ebuild new file mode 100644 index 000000000000..9bf4cb6eb641 --- /dev/null +++ b/dev-java/coursier-bin/coursier-bin-2.1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +get_orig_coursier_pv() { + local orig_pv=$(ver_rs 3 -) + orig_pv=${orig_pv/rc/RC} + orig_pv=${orig_pv/pre/M} + echo "${orig_pv}" +} + +DESCRIPTION="Java/Scala artifact fetching, bundling and deploying" +HOMEPAGE="https://get-coursier.io/" +SRC_URI="https://github.com/coursier/coursier/releases/download/v$(get_orig_coursier_pv)/cs-x86_64-pc-linux.gz -> ${P}.gz" + +KEYWORDS="~amd64" +LICENSE="Apache-2.0" +SLOT="0" + +S="${WORKDIR}" + +RDEPEND=">=virtual/jre-8" + +QA_FLAGS_IGNORED="usr/bin/coursier" +QA_TEXTRELS="usr/bin/coursier" + +src_install() { + newbin "${P}" coursier +} |