Skip to content

Commit

Permalink
dev-java/gradle-bin: fix for Prefix, don't use EPREFIX with helpers
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/706172
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen <[email protected]>
  • Loading branch information
grobian committed Jan 18, 2021
1 parent 6bd8f7e commit 4df3d4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-java/gradle-bin/gradle-bin-6.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -26,14 +26,14 @@ RDEPEND=">=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}"

src_install() {
local gradle_dir="${EPREFIX}/usr/share/${PN}-${SLOT}"
local gradle_dir="/usr/share/${PN}-${SLOT}"

insinto "${gradle_dir}"
doins -r lib/

exeinto "${gradle_dir}"/bin
doexe bin/${MY_PN}
dosym "../${gradle_dir##*/usr/}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"
dosym "../${gradle_dir#/usr/}/bin/gradle" "/usr/bin/${MY_PN}-${SLOT}"

docinto html
dodoc -r docs/release-notes.html
Expand Down

0 comments on commit 4df3d4e

Please sign in to comment.