mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-ruby/chruby: add 0.3.9-r1
Resolve: https://bugs.gentoo.org/821481 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
23
dev-ruby/chruby/chruby-0.3.9-r1.ebuild
Normal file
23
dev-ruby/chruby/chruby-0.3.9-r1.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Changes the current Ruby"
|
||||
HOMEPAGE="https://github.com/postmodern/chruby"
|
||||
SRC_URI="https://github.com/postmodern/chruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
# TODO: Remove `${D}` from PREFIX in >=chruby-0.3.10 (https://git.io/JPQ25)
|
||||
emake DESTDIR="${D}" PREFIX="${D}/usr" install
|
||||
|
||||
insinto "/etc/profile.d"
|
||||
newins "${FILESDIR}/systemwide.sh" "chruby.sh"
|
||||
}
|
||||
Reference in New Issue
Block a user