commit:     9eb656c455707f1e110d233a57622909e1a4ca05
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 08:51:36 2025 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 08:53:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb656c4

app-shells/yash: new upstream release

Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-shells/yash/Manifest           |  1 +
 app-shells/yash/yash-2.58.1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/app-shells/yash/Manifest b/app-shells/yash/Manifest
index 503c34c86dbe..472e0da16124 100644
--- a/app-shells/yash/Manifest
+++ b/app-shells/yash/Manifest
@@ -1 +1,2 @@
 DIST yash-2.57.tar.xz 771228 BLAKE2B 
ea11d63c013a5b967ff32984e33b2b0113e3101b233d5923e902a15d1f1b53142f4266dd54df85776dd7ad45f4045c5cee500e7de764e92d2e2e87b7e2fbf19a
 SHA512 
6604ce54f698740d99e4ce3e6ff93b10936353b0690871b4dd1a0ef4569fc228284f551398b4912d324c8627eccec4cd51ac58508f741eb47b315560f02bff01
+DIST yash-2.58.1.tar.xz 784816 BLAKE2B 
e3495d60303571fef6a754df70719cab4ca71b14d198451d9e4111f4306d76450ff73cd2d4ae8ec97d0bde905e6f1e9b37c908150155b21f93f70e6f6685b1e7
 SHA512 
01e87d579db4ad15ff475cdb7a5360e1b1b6d0e39301e191910943f99adb6686e2462645114c68b59e3de53c5d4486748a9d070a47e3d148e6e3f84b000f1318

diff --git a/app-shells/yash/yash-2.58.1.ebuild 
b/app-shells/yash/yash-2.58.1.ebuild
new file mode 100644
index 000000000000..dd0a188a2e22
--- /dev/null
+++ b/app-shells/yash/yash-2.58.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PLOCALES="en ja"
+
+inherit flag-o-matic plocale toolchain-funcs
+
+DESCRIPTION="Yash is a POSIX-compliant command line shell"
+HOMEPAGE="https://magicant.github.io/yash/";
+SRC_URI="https://github.com/magicant/${PN}/releases/download/${PV}/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE="nls test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-libs/ncurses:=
+       nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND="nls? ( sys-devel/gettext )
+       test? ( sys-apps/ed )"
+
+src_configure() {
+       append-cflags -std=c99
+
+       sh ./configure \
+               --prefix="${EPREFIX}"/usr \
+               --exec-prefix="${EPREFIX}" \
+               $(use_enable nls) \
+               CC="$(tc-getCC)" \
+               LINGUAS="$(plocale_get_locales | sed "s/en/en@quot 
en@boldquot/")" \
+               || die
+}

Reply via email to