commit:     b833d3198cdaee7d8bf1a31e411f33c4eb982af3
Author:     Anton Bolshakov <blshkv <AT> users <DOT> noreply <DOT> github <DOT> 
com>
AuthorDate: Tue Jul  7 01:04:02 2020 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Wed Jul  8 06:32:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=b833d319

pwsh-bin: add arm support

https://github.com/gentoo/dotnet/issues/475
Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org>

 app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild 
b/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
index bc1f07b..3e6f1fe 100644
--- a/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
+++ b/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
@@ -9,6 +9,8 @@ LICENSE="MIT"
 
 SRC_URI="
 amd64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz
 )
+arm?   ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz
 )
+arm64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz
 )
 "
 
 SLOT="0"
@@ -32,7 +34,7 @@ S=${WORKDIR}
 
 src_prepare() {
        default
-       rm libcrypto.so.1.0.0 libssl.so.1.0.0 || die
+       use amd64 && rm libcrypto.so.1.0.0 libssl.so.1.0.0 || die
 }
 
 src_install() {

Reply via email to