Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9BE917819D3 for <~alpine/aports@lists.alpinelinux.org>; Mon, 15 Feb 2021 03:14:04 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bl4ckb0ne.ca; s=default; t=1613358842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XspvQtZKh+jLfHDgq8SNXEeUnGqZGXPV6yvJDqYqPQg=; b=Snr4ONQ+O3EWtC0eDVzwaE8OIZerhx2DLE70A1Pceg4XRsFji7z5R6+obxNHWEmwKYAJLa 6PkU4+OLS5n1naEPk2UPa13Y95L4IMcbCMzWZAFvEEVPIN8L8kAIjouYfFxnfY1p1DgLLP hfDnzadshPx8Ce9xqFYZC7jFp8kEZbk= From: Simon Zeni To: ~alpine/aports@lists.alpinelinux.org Cc: Simon Zeni Subject: [PATCH] testing/dotnet-core: new aport Date: Sun, 14 Feb 2021 22:13:31 -0500 Message-Id: <20210215031330.7626-1-simon@bl4ckb0ne.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: simon@bl4ckb0ne.ca --- testing/dotnet-core/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/dotnet-core/APKBUILD diff --git a/testing/dotnet-core/APKBUILD b/testing/dotnet-core/APKBUILD new file mode 100644 index 0000000000..eb3e7545fe --- /dev/null +++ b/testing/dotnet-core/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Simon Zeni +pkgname=dotnet-core +pkgver=3.1.405 +pkgrel=0 +pkgdesc=".NET Core SDK" +url="https://www.microsoft.com/net/core" +options="!check !tracedeps" # no test suite +arch="x86_64" +license="MIT" +depends=" + libcurl + gcc + krb5-libs + libintl + lttng-ust + libstdc++ + zlib + " +source="https://download.visualstudio.microsoft.com/download/pr/91571c5a-2e55-4187-8774-bbbab205fac6/4d53331ec2beb5c648202cae23643686/dotnet-sdk-$pkgver-linux-musl-x64.tar.gz" + +package() { + # SDK + install -dm 755 $pkgdir/usr/share/dotnet + cp -dr --no-preserve='ownership' $srcdir/sdk $srcdir/templates $pkgdir/usr/share/dotnet/ + + # Runtime + install -dm 755 $pkgdir/usr/share/dotnet/shared + cp -dr --no-preserve='ownership' $srcdir/shared/Microsoft.NETCore.App $pkgdir/usr/share/dotnet/shared/ + + # Targeting pack + install -dm 755 $pkgdir/usr/share/dotnet/packs + cp -dr --no-preserve='ownership' $srcdir/packs/Microsoft.NETCore.App.Host.linux-musl-x64 $pkgdir/usr/share/dotnet/packs/ + cp -dr --no-preserve='ownership' $srcdir/packs/Microsoft.NETCore.App.Ref $pkgdir/usr/share/dotnet/packs/ +} + +sha512sums="e0fdcd08cf3cddeb4e24f57ccc1398e58b20c1c797bc2f9492124467defc6046a9690dbebc9d22e0f4b1627205519c7338de872451f37dc3b794865e1d0bd9bc dotnet-sdk-3.1.405-linux-musl-x64.tar.gz" -- 2.30.1