commit: 2da44cb6659f691d41ec5021f06c8e9702c509c1 Author: Gergely Nagy <ngg <AT> tresorit <DOT> com> AuthorDate: Sat Dec 14 12:56:41 2019 +0000 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> CommitDate: Mon Dec 16 07:22:39 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=2da44cb6
app-shells/pwsh-bin: add 7.0.0-preview.6 Signed-off-by: Gergely Nagy <ngg <AT> tresorit.com> Closes: https://github.com/gentoo/dotnet/pull/457 Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org> app-shells/pwsh-bin/pwsh-bin-7.0.0_pre6.ebuild | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/app-shells/pwsh-bin/pwsh-bin-7.0.0_pre6.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.0.0_pre6.ebuild new file mode 100644 index 0000000..fe63479 --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.0.0_pre6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="PowerShell - binary precompiled for glibc" +HOMEPAGE="https://powershell.org/" +LICENSE="MIT" + +SRC_URI=" +amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v7.0.0-preview.6/powershell-7.0.0-preview.6-linux-x64.tar.gz ) +" + +SLOT="0" +KEYWORDS="" + +QA_PREBUILT="*" + +DEPEND="" +RDEPEND="${DEPEND} + >=sys-apps/lsb-release-1.4 + >=sys-libs/libunwind-1.1-r1 + >=dev-libs/icu-57.1 + >=dev-util/lttng-ust-2.8.1 + || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0 ) + >=net-misc/curl-7.49.0 + >=app-crypt/mit-krb5-1.14.2 + >=sys-libs/zlib-1.2.8-r1" +BDEPEND="" + +S=${WORKDIR} + +src_install() { + local dest="opt/pwsh" + dodir "${dest}" + local ddest="${D}/${dest}" + cp -a "${S}"/* "${ddest}/" || die + fperms 0755 "/${dest}/pwsh" + dosym "/${dest}/pwsh" "/usr/bin/pwsh" +}
