commit:     7149e3998428ec56f40b85c0144de904ae7b0eeb
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jun 19 16:00:05 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun 23 19:46:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7149e399

app-shells/loksh: add 7.5

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37219
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-shells/loksh/Manifest         |  1 +
 app-shells/loksh/loksh-7.5.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest
index 59dda23bd902..a0aab3a4a3a3 100644
--- a/app-shells/loksh/Manifest
+++ b/app-shells/loksh/Manifest
@@ -1,2 +1,3 @@
 DIST loksh-7.1.tar.xz 211636 BLAKE2B 
7604d6a5d3d3bce7dc51cde1d53ec10b927411afe700192e243e8dc022011cb3d89668768ba7940af22e97d95fd074638860e7b74fcacc8c83de4ad995654da4
 SHA512 
f46221f765f2799856049fbfe1650e6f3d13d597cf97843d4b54b9803b9ecedbf8a8c9364e1ba9b981b667004a8fe4da043006945f8b61f094678d3578518716
 DIST loksh-7.3.tar.xz 212120 BLAKE2B 
2c1c56dcbfa664aa894b1f09f145b28f6861bf28f06274f32697eace30f24660dbcecdcf58938f6cae106e654d200ef0cb4cb2ecd309f3d60be4afc7fa6a6b9c
 SHA512 
a054917c975f65dfb5f8eb35665044ddacacdbd2d1e1113e6bf62d5cd8d5f4fd775ff5f20e28191d2417016684a310f23115af102b834aa33083e2be41034477
+DIST loksh-7.5.tar.xz 212104 BLAKE2B 
c5897860ca9ce7614921e890ec2ba6f464f600df9410082256e7b4cb53c15fbacb2f46fb8eada77910c19a260338f8e2fb55e3b324c96ab82e44f502859769a2
 SHA512 
9aee8219a4d63d06c95df2347611a04664ec344c2cb4c3d5d14bdea6b9cabc424246b0e070c901b4a5e38f5784b2c43f5c3c78b01f74cbdce46eded6fda043db

diff --git a/app-shells/loksh/loksh-7.5.ebuild 
b/app-shells/loksh/loksh-7.5.ebuild
new file mode 100644
index 000000000000..587b3d778384
--- /dev/null
+++ b/app-shells/loksh/loksh-7.5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 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";
+SRC_URI="https://github.com/dimkr/loksh/releases/download/${PV}/${P}.tar.xz";
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+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
+}

Reply via email to