summaryrefslogtreecommitdiff
path: root/dev-ruby/chruby/chruby-9999.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-ruby/chruby/chruby-9999.ebuild
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-ruby/chruby/chruby-9999.ebuild')
-rw-r--r--dev-ruby/chruby/chruby-9999.ebuild41
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-ruby/chruby/chruby-9999.ebuild b/dev-ruby/chruby/chruby-9999.ebuild
deleted file mode 100644
index bd7345d78725..000000000000
--- a/dev-ruby/chruby/chruby-9999.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == *9999 ]]; then
- EGIT_REPO_URI="https://github.com/postmodern/chruby.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/postmodern/chruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Changes the current Ruby"
-HOMEPAGE="https://github.com/postmodern/chruby"
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="test"
-
-DEPEND="|| ( >=app-shells/bash-3.0:* app-shells/zsh )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
-
- sed -i Makefile -e "s/^VERSION=.\+$/VERSION=${PVR}/" \
- || die "can't fix doc location to follow Gentoo/FHS guidelines"
-}
-
-src_install() {
- local emakeargs=(
- DESTDIR="$D"
- PREFIX="/usr"
- )
-
- emake "${emakeargs[@]}" install
-
- insinto "/etc/profile.d"
- newins "${FILESDIR}/systemwide.sh" "chruby.sh"
-}