commit: c4a8906d690201c526a16e47ef2946c83e7a5589 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Thu Jun 26 22:43:47 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Jun 27 00:52:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a8906d
app-shells/loksh: bump to 7.7 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-shells/loksh/Manifest | 1 + app-shells/loksh/loksh-7.7.ebuild | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest index 58cf232b194b..84d4ff168314 100644 --- a/app-shells/loksh/Manifest +++ b/app-shells/loksh/Manifest @@ -1 +1,2 @@ DIST loksh-7.6.tar.xz 212080 BLAKE2B 845fbda4b0ff17c432a6ab2b506ad02bc2f9a36873d20ba3ab7b4bf5eeff6609f61c0223f9d18933314bca22b45c02313cdab6cb69bed73227918516b8be186a SHA512 c03a298e93bff3c689591a9864eeb5daa661b6b0b783102a271f7ebb08297a4939d8c923233fc23892b83c86d7102f9ae022f4b4d3fdf33e095e86690014fb24 +DIST loksh-7.7.tar.xz 212280 BLAKE2B e53ad4196f5dcc7556f830453abe2ae2702e1dcba92ad6bb1096b193e145953a7179c0012b46791578c69bf96e90a65c1a1a002b05f01e7b040179a2f019569d SHA512 002e3099a16052517f679f891293387dd55497aceedb5e959f2ae46fc3339b21856e48e402d7fcbffa1a17f1f9c6f433c32622284bd723293a02efe11dc755b9 diff --git a/app-shells/loksh/loksh-7.7.ebuild b/app-shells/loksh/loksh-7.7.ebuild new file mode 100644 index 000000000000..1ef420415479 --- /dev/null +++ b/app-shells/loksh/loksh-7.7.ebuild @@ -0,0 +1,41 @@ +# 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 +}
