gentoo/dev-java/coursier-bin/coursier-bin-2.1.14.ebuild
Michał Górny 6a3644bf2f
*/*: Add := to virtual/zlib deps, part 1
Done via:

```
git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@'
```

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04 10:36:27 +01:00

34 lines
688 B
Bash

# Copyright 1999-2025 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"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
virtual/zlib:=
>=virtual/jre-8
"
QA_FLAGS_IGNORED="usr/bin/coursier"
QA_TEXTRELS="usr/bin/coursier"
src_install() {
newbin "${P}" coursier
}