[arch-commits] Commit in dotnet-core/repos/community-x86_64 (8 files)
Maxime Gauduin
alucryd at archlinux.org
Fri May 14 20:30:27 UTC 2021
Date: Friday, May 14, 2021 @ 20:30:26
Author: alucryd
Revision: 934378
archrelease: copy trunk to community-x86_64
Added:
dotnet-core/repos/community-x86_64/9999-runtime-link-order.patch
(from rev 934377, dotnet-core/trunk/9999-runtime-link-order.patch)
dotnet-core/repos/community-x86_64/9999-sdk-telemetry-optout.patch
(from rev 934377, dotnet-core/trunk/9999-sdk-telemetry-optout.patch)
dotnet-core/repos/community-x86_64/PKGBUILD
(from rev 934377, dotnet-core/trunk/PKGBUILD)
dotnet-core/repos/community-x86_64/dotnet.sh
(from rev 934377, dotnet-core/trunk/dotnet.sh)
Deleted:
dotnet-core/repos/community-x86_64/9999-runtime-link-order.patch
dotnet-core/repos/community-x86_64/9999-sdk-telemetry-optout.patch
dotnet-core/repos/community-x86_64/PKGBUILD
dotnet-core/repos/community-x86_64/dotnet.sh
---------------------------------+
9999-runtime-link-order.patch | 40 +--
9999-sdk-telemetry-optout.patch | 24 +-
PKGBUILD | 427 ++++++++++++++++++--------------------
dotnet.sh | 24 +-
4 files changed, 253 insertions(+), 262 deletions(-)
Deleted: 9999-runtime-link-order.patch
===================================================================
--- 9999-runtime-link-order.patch 2021-05-14 20:30:17 UTC (rev 934377)
+++ 9999-runtime-link-order.patch 2021-05-14 20:30:26 UTC (rev 934378)
@@ -1,20 +0,0 @@
---- runtime.f27d33729518f5aa478aa818b7b4f54a4d50bef1.orig/src/installer/corehost/cli/apphost/static/CMakeLists.txt 2021-03-16 15:05:11.692543567 +0000
-+++ runtime.f27d33729518f5aa478aa818b7b4f54a4d50bef1/src/installer/corehost/cli/apphost/static/CMakeLists.txt 2021-03-16 15:06:51.581738910 +0000
-@@ -207,12 +207,12 @@ target_link_libraries(
- libhostcommon
- ${CORECLR_LIBRARIES}
-
-- ${ZLIB_LIBRARIES}
-- ${LIBGSS}
-- ${NATIVE_LIBS_EXTRA}
--
- ${START_WHOLE_ARCHIVE}
- ${RUNTIMEINFO_LIB}
- ${NATIVE_LIBS}
- ${END_WHOLE_ARCHIVE}
-+
-+ ${ZLIB_LIBRARIES}
-+ ${LIBGSS}
-+ ${NATIVE_LIBS_EXTRA}
- )
-
Copied: dotnet-core/repos/community-x86_64/9999-runtime-link-order.patch (from rev 934377, dotnet-core/trunk/9999-runtime-link-order.patch)
===================================================================
--- 9999-runtime-link-order.patch (rev 0)
+++ 9999-runtime-link-order.patch 2021-05-14 20:30:26 UTC (rev 934378)
@@ -0,0 +1,20 @@
+--- runtime.f27d33729518f5aa478aa818b7b4f54a4d50bef1.orig/src/installer/corehost/cli/apphost/static/CMakeLists.txt 2021-03-16 15:05:11.692543567 +0000
++++ runtime.f27d33729518f5aa478aa818b7b4f54a4d50bef1/src/installer/corehost/cli/apphost/static/CMakeLists.txt 2021-03-16 15:06:51.581738910 +0000
+@@ -207,12 +207,12 @@ target_link_libraries(
+ libhostcommon
+ ${CORECLR_LIBRARIES}
+
+- ${ZLIB_LIBRARIES}
+- ${LIBGSS}
+- ${NATIVE_LIBS_EXTRA}
+-
+ ${START_WHOLE_ARCHIVE}
+ ${RUNTIMEINFO_LIB}
+ ${NATIVE_LIBS}
+ ${END_WHOLE_ARCHIVE}
++
++ ${ZLIB_LIBRARIES}
++ ${LIBGSS}
++ ${NATIVE_LIBS_EXTRA}
+ )
+
Deleted: 9999-sdk-telemetry-optout.patch
===================================================================
--- 9999-sdk-telemetry-optout.patch 2021-05-14 20:30:17 UTC (rev 934377)
+++ 9999-sdk-telemetry-optout.patch 2021-05-14 20:30:26 UTC (rev 934378)
@@ -1,12 +0,0 @@
-diff -rupN sdk.51369266643769f9f0c1184e89715cd1045126d0.orig/src/Cli/dotnet/Program.cs sdk.51369266643769f9f0c1184e89715cd1045126d0/src/Cli/dotnet/Program.cs
---- sdk.51369266643769f9f0c1184e89715cd1045126d0.orig/src/Cli/dotnet/Program.cs 2021-04-15 07:25:31.290095535 +0000
-+++ sdk.51369266643769f9f0c1184e89715cd1045126d0/src/Cli/dotnet/Program.cs 2021-04-15 07:27:01.742066297 +0000
-@@ -187,7 +187,7 @@ namespace Microsoft.DotNet.Cli
- bool generateAspNetCertificate =
- environmentProvider.GetEnvironmentVariableAsBool("DOTNET_GENERATE_ASPNET_CERTIFICATE", defaultValue: true);
- bool telemetryOptout =
-- environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: false);
-+ environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: true);
- bool addGlobalToolsToPath =
- environmentProvider.GetEnvironmentVariableAsBool("DOTNET_ADD_GLOBAL_TOOLS_TO_PATH", defaultValue: true);
- bool nologo =
Copied: dotnet-core/repos/community-x86_64/9999-sdk-telemetry-optout.patch (from rev 934377, dotnet-core/trunk/9999-sdk-telemetry-optout.patch)
===================================================================
--- 9999-sdk-telemetry-optout.patch (rev 0)
+++ 9999-sdk-telemetry-optout.patch 2021-05-14 20:30:26 UTC (rev 934378)
@@ -0,0 +1,12 @@
+diff -rupN sdk.51369266643769f9f0c1184e89715cd1045126d0.orig/src/Cli/dotnet/Program.cs sdk.51369266643769f9f0c1184e89715cd1045126d0/src/Cli/dotnet/Program.cs
+--- sdk.51369266643769f9f0c1184e89715cd1045126d0.orig/src/Cli/dotnet/Program.cs 2021-04-15 07:25:31.290095535 +0000
++++ sdk.51369266643769f9f0c1184e89715cd1045126d0/src/Cli/dotnet/Program.cs 2021-04-15 07:27:01.742066297 +0000
+@@ -187,7 +187,7 @@ namespace Microsoft.DotNet.Cli
+ bool generateAspNetCertificate =
+ environmentProvider.GetEnvironmentVariableAsBool("DOTNET_GENERATE_ASPNET_CERTIFICATE", defaultValue: true);
+ bool telemetryOptout =
+- environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: false);
++ environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: true);
+ bool addGlobalToolsToPath =
+ environmentProvider.GetEnvironmentVariableAsBool("DOTNET_ADD_GLOBAL_TOOLS_TO_PATH", defaultValue: true);
+ bool nologo =
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-14 20:30:17 UTC (rev 934377)
+++ PKGBUILD 2021-05-14 20:30:26 UTC (rev 934378)
@@ -1,218 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Kristian Mosegaard <kristian at mosen.me>
-# Contributor: Max Liebkies <mail at maxliebkies.de>
-# Contributor: Krzysztof Bogacki <krzysztof.bogacki at leancode.pl>
-
-pkgbase=dotnet-core
-pkgname=(
- dotnet-host
- dotnet-runtime
- aspnet-runtime
- dotnet-sdk
- netstandard-targeting-pack
- dotnet-targeting-pack
- aspnet-targeting-pack
-)
-pkgver=5.0.5.sdk202
-pkgrel=1
-arch=(x86_64)
-url=https://www.microsoft.com/net/core
-license=(MIT)
-makedepends=(
- bash
- clang
- cmake
- git
- icu
- inetutils
- krb5
- libgit2
- libunwind
- libxml2
- lldb
- llvm
- lttng-ust
- nodejs
- openssl
- systemd
- zlib
-)
-options=(staticlibs)
-_tag=561d6ea60d5c3f914c0d2c4f88f1e955bc9c997a
-source=(
- dotnet-source-build::git+https://github.com/dotnet/source-build.git#tag=${_tag}
- https://dotnetcli.azureedge.net/dotnet/Runtime/3.1.1/dotnet-runtime-3.1.1-linux-x64.tar.gz
- https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.202/dotnet-sdk-5.0.202-linux-x64.tar.gz
- dotnet.sh
- 9999-runtime-link-order.patch
- 9999-sdk-telemetry-optout.patch
-)
-noextract=(
- dotnet-runtime-3.1.1-linux-x64.tar.gz
- dotnet-sdk-5.0.202-linux-x64.tar.gz
-)
-b2sums=('SKIP'
- 'c51b167da0624df2fb5b346652ffa5a7fcfb00f95104664329721d4cf4b563dfdc8f7f3ea36332af1f50e8eedff14d7f960b55793ef2ed6b467a672bd92b3acd'
- 'cbdc6ff24baff47dead2f6e2cc46b11527630a4481dbea2241c205bfd065032a97e9367678d1f0520ea2858f87f2f1f0f5d4872e8c442b375b1c09efae6cc596'
- '4a64e3ee550e296bdde894f9202c6f372934cc29154f47d302599b4c368825a96a7b786faa6109a24a1101ff130fd9e4d0ccba094ec91e7f2ca645725bf71b34'
- '437e0b0956576795087f9e5299f6b847aaaef8158847a269d34331d42da6729721d121eed82b95e4833f9d01322da677d85db924bf43140360c5592d51324565'
- '2d69b0eb110f49badbf411ec22be0b10913321275d4146a9e3ea2e5a160a7388e6b0f70200d8ed8640c742f7791694a13be89d85f8424078396ab29e28fca113')
-
-pkgver() {
- mkdir dotnet
-
- bsdtar -xf dotnet-runtime-3.1.1-linux-x64.tar.gz -C dotnet
- bsdtar -xf dotnet-sdk-5.0.202-linux-x64.tar.gz -C dotnet
-
- cd dotnet-source-build
-
- if [[ $(git describe --tags) != *-SDK ]]; then
- exit 1
- fi
-
- local _runtimever=$(xmllint --xpath "//Dependency[@Name='Microsoft.NETCore.App.Runtime.win-x64']/@Version" eng/Version.Details.xml | cut -d '=' -f 2 | sed 's/^"//; s/"$//')
- local _sdkver=$(xmllint --xpath "//Dependency[@Name='Microsoft.NET.Sdk']/@Version" eng/Version.Details.xml | cut -d '=' -f 2 | sed 's/^"//; s/"$//; s/-rtm.*//; s/-servicing.*//')
-
- echo "${_runtimever}.sdk${_sdkver##*.}"
-}
-
-prepare() {
- cd dotnet-source-build
-
- [ -d patches/runtime ] || mkdir patches/runtime
- cp ../9999-runtime-link-order.patch patches/runtime/
- [ -d patches/sdk ] || mkdir patches/sdk
- cp ../9999-sdk-telemetry-optout.patch patches/sdk/
-
- # disable warnings
- sed -i 's|skiptests|skiptests ignorewarnings|' repos/runtime.common.props
-}
-
-build() {
- cd dotnet-source-build
-
- export SOURCE_BUILD_SKIP_SUBMODULE_CHECK=1
-
- ./build.sh \
- --with-sdk ../dotnet \
- /p:ArchiveDownloadedPackages=true \
- /p:ContinueOnPrebuiltBaselineError=true \
- /p:SkipPortableRuntimeBuild=true \
- /p:SkipPrebuiltEnforcement=true \
- /p:UseSystemLibraries=true \
- /p:UseSystemLibunwind=true
-}
-
-package_dotnet-host() {
- pkgdesc='A generic driver for the .NET Core Command Line Interface'
- depends=(
- gcc-libs
- glibc
- )
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/{etc/profile.d,usr/{bin,lib,share/{dotnet,licenses/dotnet-host}}}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner dotnet host
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/licenses/dotnet-host/ --no-same-owner LICENSE.txt ThirdPartyNotices.txt
- ln -s /usr/share/dotnet/dotnet "${pkgdir}"/usr/bin/dotnet
- ln -s /usr/share/dotnet/host/fxr/${pkgver%.sdk*}/libhostfxr.so "${pkgdir}"/usr/lib/libhostfxr.so
- install -Dm 644 "${srcdir}"/dotnet.sh -t "${pkgdir}"/etc/profile.d/
-}
-
-package_dotnet-runtime() {
- pkgdesc='The .NET Core runtime'
- depends=(
- dotnet-host
- gcc-libs
- glibc
- icu
- libgssapi_krb5.so
- libunwind
- zlib
- openssl
- )
-
- optdepends=('lttng-ust: CoreCLR tracing')
- provides=(dotnet-runtime-5.0)
- conflicts=(dotnet-runtime-5.0)
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner shared/Microsoft.NETCore.App
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-runtime
-}
-
-package_aspnet-runtime() {
- pkgdesc='The ASP.NET Core runtime'
- depends=(dotnet-runtime)
- provides=(aspnet-runtime-5.0)
- conflicts=(aspnet-runtime-5.0)
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner shared/Microsoft.AspNetCore.App
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-runtime
-}
-
-package_dotnet-sdk() {
- pkgdesc='The .NET Core SDK'
- depends=(
- dotnet-runtime
- dotnet-targeting-pack
- glibc
- gcc-libs
- netstandard-targeting-pack
- )
- optdepends=('aspnet-targeting-pack: Build ASP.NET Core applications')
- provides=(dotnet-sdk-5.0)
- conflicts=(dotnet-sdk-5.0)
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner sdk templates
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-sdk
-}
-
-package_netstandard-targeting-pack() {
- pkgdesc='The .NET Standard targeting pack'
- provides=(netstandard-targeting-pack-2.1)
- conflicts=(netstandard-targeting-pack-2.1)
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner packs/NETStandard.Library.Ref
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/netstandard-targeting-pack
-}
-
-package_dotnet-targeting-pack() {
- pkgdesc='The .NET Core targeting pack'
- depends=(netstandard-targeting-pack)
- provides=(dotnet-targeting-pack-5.0)
- conflicts=(dotnet-targeting-pack-5.0)
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner packs/Microsoft.NETCore.App.{Host.arch-x64,Ref}
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-targeting-pack
-}
-
-package_aspnet-targeting-pack() {
- pkgdesc='The ASP.NET Core targeting pack'
- depends=(dotnet-targeting-pack)
- provides=(aspnet-targeting-pack-5.0)
- conflicts=(aspnet-targeting-pack-5.0)
-
- cd dotnet-source-build/artifacts/x64/Release
-
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner packs/Microsoft.AspNetCore.App.Ref
- ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-targeting-pack
-}
-
-# vim: ts=2 sw=2 et:
Copied: dotnet-core/repos/community-x86_64/PKGBUILD (from rev 934377, dotnet-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-14 20:30:26 UTC (rev 934378)
@@ -0,0 +1,209 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Kristian Mosegaard <kristian at mosen.me>
+# Contributor: Max Liebkies <mail at maxliebkies.de>
+# Contributor: Krzysztof Bogacki <krzysztof.bogacki at leancode.pl>
+
+pkgbase=dotnet-core
+pkgname=(
+ dotnet-host
+ dotnet-runtime
+ aspnet-runtime
+ dotnet-sdk
+ netstandard-targeting-pack
+ dotnet-targeting-pack
+ aspnet-targeting-pack
+)
+pkgver=5.0.6.sdk203
+pkgrel=1
+arch=(x86_64)
+url=https://www.microsoft.com/net/core
+license=(MIT)
+makedepends=(
+ bash
+ clang
+ cmake
+ dotnet-runtime-3.1
+ dotnet-sdk
+ git
+ icu
+ inetutils
+ krb5
+ libgit2
+ libunwind
+ libxml2
+ lldb
+ llvm
+ lttng-ust
+ nodejs
+ openssl
+ systemd
+ zlib
+)
+options=(staticlibs)
+_tag=a8f12771179965da9f48646ded87068d379563b9
+source=(
+ dotnet-source-build::git+https://github.com/dotnet/source-build.git#tag=${_tag}
+ dotnet.sh
+ 9999-runtime-link-order.patch
+ 9999-sdk-telemetry-optout.patch
+)
+b2sums=('SKIP'
+ '4a64e3ee550e296bdde894f9202c6f372934cc29154f47d302599b4c368825a96a7b786faa6109a24a1101ff130fd9e4d0ccba094ec91e7f2ca645725bf71b34'
+ '437e0b0956576795087f9e5299f6b847aaaef8158847a269d34331d42da6729721d121eed82b95e4833f9d01322da677d85db924bf43140360c5592d51324565'
+ '2d69b0eb110f49badbf411ec22be0b10913321275d4146a9e3ea2e5a160a7388e6b0f70200d8ed8640c742f7791694a13be89d85f8424078396ab29e28fca113')
+
+prepare() {
+ cp -r /usr/share/dotnet .
+
+ cd dotnet-source-build
+
+ [ -d patches/runtime ] || mkdir patches/runtime
+ cp ../9999-runtime-link-order.patch patches/runtime/
+ [ -d patches/sdk ] || mkdir patches/sdk
+ cp ../9999-sdk-telemetry-optout.patch patches/sdk/
+
+ # disable warnings
+ sed -i 's|skiptests|skiptests ignorewarnings|' repos/runtime.common.props
+}
+
+pkgver() {
+ cd dotnet-source-build
+
+ if [[ $(git describe --tags) != v5.0.*-SDK ]]; then
+ exit 1
+ fi
+
+ local _runtimever=$(xmllint --xpath "//Dependency[@Name='Microsoft.NETCore.App.Runtime.win-x64']/@Version" eng/Version.Details.xml | cut -d '=' -f 2 | sed 's/^"//; s/"$//')
+ local _sdkver=$(xmllint --xpath "//Dependency[@Name='Microsoft.NET.Sdk']/@Version" eng/Version.Details.xml | cut -d '=' -f 2 | sed 's/^"//; s/"$//; s/-rtm.*//; s/-servicing.*//')
+
+ echo "${_runtimever}.sdk${_sdkver##*.}"
+}
+
+build() {
+ cd dotnet-source-build
+
+ export SOURCE_BUILD_SKIP_SUBMODULE_CHECK=1
+
+ ./build.sh \
+ --with-sdk ../dotnet \
+ /p:ArchiveDownloadedPackages=true \
+ /p:ContinueOnPrebuiltBaselineError=true \
+ /p:SkipPortableRuntimeBuild=true \
+ /p:SkipPrebuiltEnforcement=true \
+ /p:UseSystemLibraries=true \
+ /p:UseSystemLibunwind=true
+}
+
+package_dotnet-host() {
+ pkgdesc='A generic driver for the .NET Core Command Line Interface'
+ depends=(
+ gcc-libs
+ glibc
+ )
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/{etc/profile.d,usr/{bin,lib,share/{dotnet,licenses/dotnet-host}}}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner dotnet host
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/licenses/dotnet-host/ --no-same-owner LICENSE.txt ThirdPartyNotices.txt
+ ln -s /usr/share/dotnet/dotnet "${pkgdir}"/usr/bin/dotnet
+ ln -s /usr/share/dotnet/host/fxr/${pkgver%.sdk*}/libhostfxr.so "${pkgdir}"/usr/lib/libhostfxr.so
+ install -Dm 644 "${srcdir}"/dotnet.sh -t "${pkgdir}"/etc/profile.d/
+}
+
+package_dotnet-runtime() {
+ pkgdesc='The .NET Core runtime'
+ depends=(
+ dotnet-host
+ gcc-libs
+ glibc
+ icu
+ libgssapi_krb5.so
+ libunwind
+ zlib
+ openssl
+ )
+
+ optdepends=('lttng-ust: CoreCLR tracing')
+ provides=(dotnet-runtime-5.0)
+ conflicts=(dotnet-runtime-5.0)
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner shared/Microsoft.NETCore.App
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-runtime
+}
+
+package_aspnet-runtime() {
+ pkgdesc='The ASP.NET Core runtime'
+ depends=(dotnet-runtime)
+ provides=(aspnet-runtime-5.0)
+ conflicts=(aspnet-runtime-5.0)
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner shared/Microsoft.AspNetCore.App
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-runtime
+}
+
+package_dotnet-sdk() {
+ pkgdesc='The .NET Core SDK'
+ depends=(
+ dotnet-runtime
+ dotnet-targeting-pack
+ glibc
+ gcc-libs
+ netstandard-targeting-pack
+ )
+ optdepends=('aspnet-targeting-pack: Build ASP.NET Core applications')
+ provides=(dotnet-sdk-5.0)
+ conflicts=(dotnet-sdk-5.0)
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner sdk templates
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-sdk
+}
+
+package_netstandard-targeting-pack() {
+ pkgdesc='The .NET Standard targeting pack'
+ provides=(netstandard-targeting-pack-2.1)
+ conflicts=(netstandard-targeting-pack-2.1)
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner packs/NETStandard.Library.Ref
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/netstandard-targeting-pack
+}
+
+package_dotnet-targeting-pack() {
+ pkgdesc='The .NET Core targeting pack'
+ depends=(netstandard-targeting-pack)
+ provides=(dotnet-targeting-pack-5.0)
+ conflicts=(dotnet-targeting-pack-5.0)
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner packs/Microsoft.NETCore.App.{Host.arch-x64,Ref}
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/dotnet-targeting-pack
+}
+
+package_aspnet-targeting-pack() {
+ pkgdesc='The ASP.NET Core targeting pack'
+ depends=(dotnet-targeting-pack)
+ provides=(aspnet-targeting-pack-5.0)
+ conflicts=(aspnet-targeting-pack-5.0)
+
+ cd dotnet-source-build/artifacts/x64/Release
+
+ install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
+ bsdtar -xf dotnet-sdk-${pkgver%.*.sdk*}.${pkgver#*sdk}-arch-x64.tar.gz -C "${pkgdir}"/usr/share/dotnet/ --no-same-owner packs/Microsoft.AspNetCore.App.Ref
+ ln -s dotnet-host "${pkgdir}"/usr/share/licenses/aspnet-targeting-pack
+}
+
+# vim: ts=2 sw=2 et:
Deleted: dotnet.sh
===================================================================
--- dotnet.sh 2021-05-14 20:30:17 UTC (rev 934377)
+++ dotnet.sh 2021-05-14 20:30:26 UTC (rev 934378)
@@ -1,12 +0,0 @@
-# Set location for AppHost lookup
-[ -z "$DOTNET_ROOT" ] && export DOTNET_ROOT=/usr/share/dotnet
-
-# Add dotnet tools directory to PATH
-DOTNET_TOOLS_PATH="$HOME/.dotnet/tools"
-case "$PATH" in
- *"$DOTNET_TOOLS_PATH"* ) true ;;
- * ) PATH="$PATH:$DOTNET_TOOLS_PATH" ;;
-esac
-
-# Extract self-contained executables under HOME to avoid multi-user issues from using the default '/var/tmp'
-[ -z "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" ] && export DOTNET_BUNDLE_EXTRACT_BASE_DIR="${XDG_CACHE_HOME:-"$HOME"/.cache}/dotnet_bundle_extract"
Copied: dotnet-core/repos/community-x86_64/dotnet.sh (from rev 934377, dotnet-core/trunk/dotnet.sh)
===================================================================
--- dotnet.sh (rev 0)
+++ dotnet.sh 2021-05-14 20:30:26 UTC (rev 934378)
@@ -0,0 +1,12 @@
+# Set location for AppHost lookup
+[ -z "$DOTNET_ROOT" ] && export DOTNET_ROOT=/usr/share/dotnet
+
+# Add dotnet tools directory to PATH
+DOTNET_TOOLS_PATH="$HOME/.dotnet/tools"
+case "$PATH" in
+ *"$DOTNET_TOOLS_PATH"* ) true ;;
+ * ) PATH="$PATH:$DOTNET_TOOLS_PATH" ;;
+esac
+
+# Extract self-contained executables under HOME to avoid multi-user issues from using the default '/var/tmp'
+[ -z "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" ] && export DOTNET_BUNDLE_EXTRACT_BASE_DIR="${XDG_CACHE_HOME:-"$HOME"/.cache}/dotnet_bundle_extract"
More information about the arch-commits
mailing list