app-shells/rc23 - 2.0.6 (buhserepo)

Search

Install

Install this version:

emerge -a =app-shells/rc23-2.0.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-shells/rc23-2.0.6

Or alternatively:

emerge --autounmask-write -a =app-shells/rc23-2.0.6

Package Information

Description:
Reimplementation of the Plan 9 rc shell for Unix
Homepage:
https://codeberg.org/rc23/rc23
License:
ZLIB

Ebuild Details

Version EAPI Keywords Slot
2.0.6 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Ben Buhse
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://codeberg.org/rc23/rc23.git"
else
	SRC_URI="https://codeberg.org/rc23/rc23/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}/rc23"
	KEYWORDS="~amd64"
	PATCHES=( "${FILESDIR}/${P}-whatis-test.patch" )
fi

DESCRIPTION="Reimplementation of the Plan 9 rc shell for Unix"
HOMEPAGE="https://codeberg.org/rc23/rc23"

LICENSE="ZLIB"
SLOT="0"
IUSE="libedit readline"
REQUIRED_USE="?? ( libedit readline )"

RDEPEND="
	readline? ( sys-libs/readline:= )
	libedit? ( dev-libs/libedit )
"
DEPEND="${RDEPEND}"

src_compile() {
	local edit=null
	use readline && edit=readline
	use libedit && edit=edit
	emake EDIT="${edit}" PREFIX="${EPREFIX}/usr"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
	dodoc README.md AUTHORS
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-shells/rc23 | euse -E <flag> -p app-shells/rc23 | euse -D <flag> -p app-shells/rc23

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	readline? ( sys-libs/readline:= )
	libedit? ( dev-libs/libedit )

RDEPEND

	readline? ( sys-libs/readline:= )
	libedit? ( dev-libs/libedit )

Manifest for 2.0.6

Type File Size Source URLs
DIST rc23-2.0.6.tar.gz 169330 bytes https://codeberg.org/rc23/rc23/archive/v2.0.6.tar.gz