app-shells/loksh: bump to 7.7

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-06-27 00:43:47 +02:00
parent be8f1e6710
commit c4a8906d69
2 changed files with 42 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}