diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-09-16 22:19:33 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-09-16 22:19:33 -0400 |
commit | 5b861f24a87a9b57d7ecc45e8d7ea446f0577c93 (patch) | |
tree | afb4956d14542e35afd204d1cb9cb8c60feb79c3 /app-shells/ksh | |
parent | media-libs/freeglut: Version bump to 3.2.0 (diff) | |
download | gentoo-5b861f24a87a9b57d7ecc45e8d7ea446f0577c93.tar.gz gentoo-5b861f24a87a9b57d7ecc45e8d7ea446f0577c93.tar.bz2 gentoo-5b861f24a87a9b57d7ecc45e8d7ea446f0577c93.zip |
app-shells/ksh: add live ebuild
Package-Manager: Portage-2.3.75_p7, Repoman-2.3.17_p49
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-shells/ksh')
-rw-r--r-- | app-shells/ksh/ksh-2020.0.0_beta1.ebuild | 17 | ||||
-rw-r--r-- | app-shells/ksh/ksh-9999.ebuild | 31 |
2 files changed, 42 insertions, 6 deletions
diff --git a/app-shells/ksh/ksh-2020.0.0_beta1.ebuild b/app-shells/ksh/ksh-2020.0.0_beta1.ebuild index 4927a8e7fe18..2ccad3528bf3 100644 --- a/app-shells/ksh/ksh-2020.0.0_beta1.ebuild +++ b/app-shells/ksh/ksh-2020.0.0_beta1.ebuild @@ -5,17 +5,22 @@ EAPI=7 inherit meson +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/att/ast" +else + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + MY_PV="${PV/_/-}" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://github.com/att/ast/releases/download/${MY_PV}/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" +fi + DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)" HOMEPAGE="https://github.com/att/ast" -MY_PV="${PV/_/-}" -MY_P="${PN}-${MY_PV}" -SRC_URI="https://github.com/att/ast/releases/download/${MY_PV}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - LICENSE="CPL-1.0 EPL-1.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" RDEPEND="!app-shells/pdksh" diff --git a/app-shells/ksh/ksh-9999.ebuild b/app-shells/ksh/ksh-9999.ebuild new file mode 100644 index 000000000000..2ccad3528bf3 --- /dev/null +++ b/app-shells/ksh/ksh-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/att/ast" +else + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + MY_PV="${PV/_/-}" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://github.com/att/ast/releases/download/${MY_PV}/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)" +HOMEPAGE="https://github.com/att/ast" + +LICENSE="CPL-1.0 EPL-1.0" +SLOT="0" + +RDEPEND="!app-shells/pdksh" + +src_install() { + meson_src_install + dodir /bin + mv "${ED}/usr/bin/ksh" "${ED}/bin/ksh" || die +} |