dev-ruby/chruby: add chruby-0.3.9-r3

Address QA failure report.

Closes: https://bugs.gentoo.org/825450
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
Alexey Zapparov
2021-11-23 01:46:41 +01:00
parent 880f614266
commit 1c5e721ffb

View File

@@ -15,6 +15,15 @@ RESTRICT="test"
DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )" DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_prepare() {
default
if [ -n "${PVR}" ] ; then
sed -i Makefile -e "s/^VERSION=${PV}$/VERSION=${PVR}/" \
|| die "can't fix doc location to follow Gentoo/FHS guidelines"
fi
}
src_install() { src_install() {
# TODO: Remove `${D}` from PREFIX in >=chruby-0.3.10 (https://git.io/JPQ25) # TODO: Remove `${D}` from PREFIX in >=chruby-0.3.10 (https://git.io/JPQ25)
emake DESTDIR="${D}" PREFIX="${D}/usr" install emake DESTDIR="${D}" PREFIX="${D}/usr" install