public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/loksh/
Date: Fri, 22 Nov 2024 15:50:45 +0000 (UTC)	[thread overview]
Message-ID: <1732290641.069e18dc411f97ea1a0a7a11a2d51ba4bc126aa1.xgqt@gentoo> (raw)

commit:     069e18dc411f97ea1a0a7a11a2d51ba4bc126aa1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 14:58:05 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 15:50:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069e18dc

app-shells/loksh: minor tweaks

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-shells/loksh/loksh-7.5.ebuild | 21 ++++++++++++++++-----
 app-shells/loksh/loksh-7.6.ebuild | 21 ++++++++++++++++-----
 2 files changed, 32 insertions(+), 10 deletions(-)

diff --git a/app-shells/loksh/loksh-7.5.ebuild b/app-shells/loksh/loksh-7.5.ebuild
index 587b3d778384..5a2d11d30b46 100644
--- a/app-shells/loksh/loksh-7.5.ebuild
+++ b/app-shells/loksh/loksh-7.5.ebuild
@@ -6,14 +6,24 @@ 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"
+HOMEPAGE="https://github.com/dimkr/loksh/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/dimkr/${PN}.git"
+else
+	SRC_URI="https://github.com/dimkr/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 
-DEPEND="sys-libs/ncurses"
+DEPEND="
+	sys-libs/ncurses
+"
 RDEPEND="
 	${DEPEND}
 	!app-shells/ksh
@@ -21,7 +31,8 @@ RDEPEND="
 
 src_prepare() {
 	default
-	sed -i "/install_dir/s@loksh@${PF}@" meson.build || die
+
+	sed -i "/install_dir/s@loksh@${PF}@" ./meson.build || die
 }
 
 src_configure() {

diff --git a/app-shells/loksh/loksh-7.6.ebuild b/app-shells/loksh/loksh-7.6.ebuild
index 587b3d778384..5a2d11d30b46 100644
--- a/app-shells/loksh/loksh-7.6.ebuild
+++ b/app-shells/loksh/loksh-7.6.ebuild
@@ -6,14 +6,24 @@ 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"
+HOMEPAGE="https://github.com/dimkr/loksh/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/dimkr/${PN}.git"
+else
+	SRC_URI="https://github.com/dimkr/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 
-DEPEND="sys-libs/ncurses"
+DEPEND="
+	sys-libs/ncurses
+"
 RDEPEND="
 	${DEPEND}
 	!app-shells/ksh
@@ -21,7 +31,8 @@ RDEPEND="
 
 src_prepare() {
 	default
-	sed -i "/install_dir/s@loksh@${PF}@" meson.build || die
+
+	sed -i "/install_dir/s@loksh@${PF}@" ./meson.build || die
 }
 
 src_configure() {


             reply	other threads:[~2024-11-22 15:50 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22 15:50 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23  8:06 [gentoo-commits] repo/gentoo:master commit in: app-shells/loksh/ Arthur Zamarin
2024-11-22 19:50 Sam James
2024-11-22 19:50 Sam James
2024-11-22 15:50 Maciej Barć
2024-11-22 15:50 Maciej Barć
2024-09-05 20:13 Petr Vaněk
2024-06-23 19:49 Conrad Kostecki
2023-10-08  3:57 Yixun Lan
2022-04-24  7:40 Joonas Niilola
2022-04-24  7:40 Joonas Niilola
2021-12-04  1:14 Sam James
2021-05-18 10:40 Joonas Niilola
2021-05-18 10:40 Joonas Niilola
2020-12-27  3:56 Sam James
2020-12-27  3:54 Sam James
2020-10-23 17:50 Georgy Yakovlev
2020-10-10  1:24 Georgy Yakovlev
2020-10-03  6:34 Georgy Yakovlev
2020-07-11  6:03 Georgy Yakovlev
2020-06-11  2:00 Georgy Yakovlev
2020-06-09 20:50 Georgy Yakovlev
2020-05-23 19:01 Georgy Yakovlev
2020-05-23 18:45 Georgy Yakovlev
2020-05-23  5:15 Georgy Yakovlev
2020-02-22  1:30 Georgy Yakovlev
2020-01-01  9:53 Georgy Yakovlev
2019-12-27 21:16 Georgy Yakovlev
2019-10-25 20:39 Georgy Yakovlev
2019-04-25  1:39 Georgy Yakovlev
2019-01-27 11:21 Georgy Yakovlev
2019-01-16  8:32 Georgy Yakovlev
2018-12-01  2:02 Georgy Yakovlev
2018-10-19  2:06 Georgy Yakovlev
2018-10-19  1:55 Georgy Yakovlev
2018-07-02  8:21 Georgy Yakovlev
2018-07-02  7:56 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732290641.069e18dc411f97ea1a0a7a11a2d51ba4bc126aa1.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox