commit: e0cdf063af4c18111f73052a7b9fb14670fa3217 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Mon May 26 13:19:33 2025 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Mon May 26 13:19:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0cdf063
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.59.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-shells/yash/Manifest b/app-shells/yash/Manifest index 700aab557858..f69a00e50b7f 100644 --- a/app-shells/yash/Manifest +++ b/app-shells/yash/Manifest @@ -1 +1,2 @@ DIST yash-2.58.1.tar.xz 784816 BLAKE2B e3495d60303571fef6a754df70719cab4ca71b14d198451d9e4111f4306d76450ff73cd2d4ae8ec97d0bde905e6f1e9b37c908150155b21f93f70e6f6685b1e7 SHA512 01e87d579db4ad15ff475cdb7a5360e1b1b6d0e39301e191910943f99adb6686e2462645114c68b59e3de53c5d4486748a9d070a47e3d148e6e3f84b000f1318 +DIST yash-2.59.tar.xz 806348 BLAKE2B 8e44156acee78f45fa7c6cf2e82a8bb7e210a33e8259b5c2a43050276ea0390b979b76ca55df9cbee8e96f337b87036d8bc7c9f86d153ba95e0df58ce87a75fa SHA512 eafcd8b9ced1238714076833f8023d158e28a8a5bc4cc9f381b030d7f67b2113c3ae291641a53daceecba053b0f89a6b478b83536b3e93880054aa2856f989e0 diff --git a/app-shells/yash/yash-2.59.ebuild b/app-shells/yash/yash-2.59.ebuild new file mode 100644 index 000000000000..dd0a188a2e22 --- /dev/null +++ b/app-shells/yash/yash-2.59.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 +}
