app-shells/yash: new upstream release

Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori 2025-05-26 22:19:33 +09:00
parent 7e34360217
commit e0cdf063af
No known key found for this signature in database
GPG Key ID: 5B43E3E2817765EB
2 changed files with 36 additions and 0 deletions

View File

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

View File

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