app-shells/loksh - 7.8 (gentoo)

Search

Package Information

Description:
Linux port of OpenBSD's ksh
Homepage:
https://github.com/dimkr/loksh/

Ebuild Details

Version EAPI Keywords Slot
7.8 8 amd64 arm arm64 ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Linux port of OpenBSD's ksh"
HOMEPAGE="https://github.com/dimkr/loksh/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/dimkr/${PN}"
else
	SRC_URI="https://github.com/dimkr/${PN}/releases/download/${PV}/${P}.tar.xz"

	KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv ~x86"
fi

LICENSE="public-domain"
SLOT="0"

DEPEND="
	sys-libs/ncurses
"
RDEPEND="
	${DEPEND}
	!app-shells/ksh
"

src_prepare() {
	default

	sed -i "/install_dir/s@loksh@${PF}@" ./meson.build || die
}

src_configure() {
	# we want it as /bin/ksh
	meson_src_configure --bindir=../bin
}

Dependencies

DEPEND

	sys-libs/ncurses

RDEPEND

	
	sys-libs/ncurses

	!app-shells/ksh

Manifest for 7.8

Type File Size Source URLs
DIST loksh-7.8.tar.xz 211668 bytes https://github.com/dimkr/loksh/releases/download/7.8/loksh-7.8.tar.xz