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() {
