mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
dev-ruby/ruby-install: fix 0.8.3-r2
Fix Makefile's version to include Gentoo ebuild revision. Closes: https://bugs.gentoo.org/830341 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
parent
21be9ca52d
commit
35a714d90a
@ -1,4 +1,4 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -31,6 +31,13 @@ src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \
|
||||
|| die "Cannot fix doc location to follow Gentoo/FHS guidelines"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user