Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/loksh/
Date: Fri, 23 Oct 2020 17:50:28
Message-Id: 1603475305.d2c2689267235a687a766d45c779c36b1c22fd41.gyakovlev@gentoo
1 commit: d2c2689267235a687a766d45c779c36b1c22fd41
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Oct 23 13:34:13 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 23 17:48:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c26892
7
8 app-shells/loksh: version bump to 6.8
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12 Closes: https://github.com/gentoo/gentoo/pull/18010
13 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
14
15 app-shells/loksh/Manifest | 1 +
16 app-shells/loksh/loksh-6.8.ebuild | 33 +++++++++++++++++++++++++++++++++
17 2 files changed, 34 insertions(+)
18
19 diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest
20 index 0488e96ec10..1b38d621530 100644
21 --- a/app-shells/loksh/Manifest
22 +++ b/app-shells/loksh/Manifest
23 @@ -1,3 +1,4 @@
24 DIST loksh-6.7.2.tar.xz 209520 BLAKE2B 37635721b4ed99b3a8ffd0bc6806e29e96c68618db32d8aad32e8cafb2c669ff44e0228588631478c189fb804a790245a66abe700bd78d06f3fdbd3baaa03778 SHA512 0008905c97c0d65ab246c05ddcd733925cdf2e35bc0eb09dd4301718236cab3f2682bee250e3630f3f9d801c1e20ee2db71194ac01f9ea4c2c8ff437328f5d08
25 DIST loksh-6.7.4.tar.xz 210008 BLAKE2B 80fd4ffa1a45f0c8775540832996278f41078850d6c9ccca8f2a1db5e2de0bb5663d11fa28c26e9b523fc6d9fbc9e1db7cfb93035ceef1bc2040e8f2083691da SHA512 d0c4aa3cb0b48d85c667a7d2e1a9c28c1533c43b3a8804806120f646a711499c96165e0e1ed7f285cd8da0d21e7ef80535b071066cc804c11cdf67e1a5e5918e
26 DIST loksh-6.7.5.tar.xz 209928 BLAKE2B 76f00cba08d425e7b0605a7a8b66f8ff6f7626a277bf5308877a8d61d6e65c2c7a68867beae8244aa42cf76e7f942dac46780432f76f63a6e007f3d772fbda78 SHA512 20f203afcc4b582e89c825852428a33f74232cb71708b7153b6f3a78d692766cfd67b8993c38e58a223b0e95caf2a487eea6bdda321ad056bf475b21d47f97f1
27 +DIST loksh-6.8.tar.xz 210440 BLAKE2B 438181e3fa5b95bc15d5cd2d5a42d09d595aefa45b8598532835f5df2464c40c6ebcab8febeee55f20272cbe3acc57f02d1408bf726cc9fc3435b7b35fae6e4a SHA512 bc862c4aa0796b0fde14c5c3067fc48c6325741bf7e62dcd99faa2ed0ddb80a8fcce79819ff599395f88ee8e5958ce4a451f777d0105fd8ea0ec513977d4e715
28
29 diff --git a/app-shells/loksh/loksh-6.8.ebuild b/app-shells/loksh/loksh-6.8.ebuild
30 new file mode 100644
31 index 00000000000..ca44f5e3fd4
32 --- /dev/null
33 +++ b/app-shells/loksh/loksh-6.8.ebuild
34 @@ -0,0 +1,33 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit meson
41 +
42 +DESCRIPTION="Linux port of OpenBSD's ksh"
43 +HOMEPAGE="https://github.com/dimkr/loksh"
44 +SRC_URI="https://github.com/dimkr/${PN}/releases/download/${PV}/src.tar.xz -> ${P}.tar.xz"
45 +
46 +LICENSE="public-domain"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
49 +
50 +DEPEND="sys-libs/ncurses:0="
51 +
52 +RDEPEND="
53 + ${DEPEND}
54 + !app-shells/ksh
55 +"
56 +
57 +S="${WORKDIR}/${PN}"
58 +
59 +src_prepare() {
60 + default
61 + sed -i "/install_dir/s@loksh@${PF}@" meson.build || die
62 +}
63 +
64 +src_configure() {
65 + # we want it as /bin/ksh
66 + meson_src_configure --bindir=../bin
67 +}