diff --git a/dev-lang/powershell-bin/Manifest b/dev-lang/powershell-bin/Manifest new file mode 100644 index 000000000..11d53de38 --- /dev/null +++ b/dev-lang/powershell-bin/Manifest @@ -0,0 +1 @@ +DIST powershell-6.1.1-1.rhel.7.x86_64.rpm 57714726 BLAKE2B 828f976232b789edf84c0bc2638cba379d2e6ec667122866192401876f360332d3f37922df6c18f6f06959d23a09af31ea8c56a8fd8583b7b67ecb6d5d725a7b SHA512 1bc88bb56311d053f6a69d50e3309f2add9cd4a186348c9aaea844eb54853ecbeaa7128dda2cfccf926a42afa8f359d63aae24039399170f3f6360d92a0d25e7 diff --git a/dev-lang/powershell-bin/powershell-bin-6.1.1.ebuild b/dev-lang/powershell-bin/powershell-bin-6.1.1.ebuild new file mode 100644 index 000000000..0c34426ac --- /dev/null +++ b/dev-lang/powershell-bin/powershell-bin-6.1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit rpm + +DESCRIPTION="A cross-platform automation and configuration tool/framework" +HOMEPAGE="https://github.com/Powershell/Powershell" +#SRC_URI="https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz" +#https://github.com/PowerShell/PowerShell/releases/download/v6.1.1/powershell_6.1.1-1.ubuntu.16.04_amd64.deb +SRC_URI=" + amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-1.rhel.7.x86_64.rpm ) +" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + dev-libs/icu + sys-libs/libunwind + dev-libs/openssl-chacha" + +S="${WORKDIR}" + +src_install() { + # Using doins -r would strip executable bits from all binaries + cp -pPR "${S}"/{opt,usr/bin} "${D}"/ || die "Failed to copy files" +} diff --git a/profiles/pentoo/base/package.accept_keywords/dev-lang b/profiles/pentoo/base/package.accept_keywords/dev-lang index 1c04a6600..11a7d8a2c 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-lang +++ b/profiles/pentoo/base/package.accept_keywords/dev-lang @@ -3,3 +3,5 @@ #~app-eselect/eselect-ruby-20161226 =dev-lang/go-1.8* + +dev-lang/powershell-bin