blob: bbcb315ea765a321d3ba09144ce1b750f987de21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
# Maintainer: Attila Greguss <floyd0122[at]gmail[dot]com>
pkgbase=dotnet-core-3.1
pkgname=(
'aspnet-runtime-3.1-bin'
'dotnet-runtime-3.1-bin'
'dotnet-sdk-3.1-bin'
'dotnet-targeting-pack-3.1-bin'
'aspnet-targeting-pack-3.1-bin'
)
pkgver=3.1.21.sdk415
_runtimever=3.1.21
_sdkver=3.1.415
pkgrel=1
arch=('x86_64' 'armv7h' 'aarch64')
url='https://www.microsoft.com/net/core'
license=('MIT')
options=('staticlibs')
source_armv7h=('https://download.visualstudio.microsoft.com/download/pr/e401b906-4681-437b-a1c5-21a2d7e0f83c/824371926ae334ac264b91d8234b350c/dotnet-sdk-3.1.415-linux-arm.tar.gz')
source_aarch64=('https://download.visualstudio.microsoft.com/download/pr/4a78a923-e891-40fe-88d2-4bff2c90519f/126bee4399caeabde4f34f4ace7f44e3/dotnet-sdk-3.1.415-linux-arm64.tar.gz')
source_x86_64=('https://download.visualstudio.microsoft.com/download/pr/6425056e-bfd5-48be-8b00-223c03a4d0f3/08a801489b7f18e9e73a1378082fbe66/dotnet-sdk-3.1.415-linux-x64.tar.gz')
sha512sums_armv7h=('b738f0b4455b926b8fafa9699525cebbf51eaad7bbe0e77267640a3fe33645ab4901552008de0a9916f55d0eff1de61c22ebd432a5a1fb5099f0cfa1b33a5e75')
sha512sums_aarch64=('7a5b9922988bcbde63d39f97e283ca1d373d5521cca0ab8946e2f86deaef6e21f00244228a0d5d8c38c2b9634b38bc7338b61984f0e12dd8fdb8b2e6eed5dd34')
sha512sums_x86_64=('df7a6d1abed609c382799a8f69f129ec72ce68236b2faecf01aed4c957a40a9cfbbc9126381bf517dff3dbe0e488f1092188582701dd0fef09a68b8c5707c747')
package_dotnet-runtime-3.1-bin() {
pkgdesc='The .NET Core runtime 3.1 (binary)'
depends=('dotnet-host'
'glibc'
'icu'
'krb5'
'libcurl.so'
'libunwind'
'openssl'
'zlib'
)
optdepends=('lttng-ust: CoreCLR tracing')
provides=("dotnet-runtime=${_runtimever}" "dotnet-runtime-3.1")
conflicts=("dotnet-runtime=${_runtimever}" "dotnet-runtime-3.1")
install -dm 755 "${pkgdir}"/usr/share/{dotnet/shared,licenses}
cp -dr --no-preserve='ownership' shared/Microsoft.NETCore.App "${pkgdir}"/usr/share/dotnet/shared/
ln -s dotnet-host-3.1 "${pkgdir}"/usr/share/licenses/dotnet-runtime-3.1
}
package_aspnet-runtime-3.1-bin() {
pkgdesc='The ASP.NET Core runtime 3.1 (binary)'
depends=('dotnet-runtime-3.1')
provides=("aspnet-runtime=${_runtimever}" "aspnet-runtime-3.1")
conflicts=("aspnet-runtime=${_runtimever}" "aspnet-runtime-3.1")
install -dm 755 "${pkgdir}"/usr/share/{dotnet/shared,licenses}
cp -dr --no-preserve='ownership' shared/Microsoft.AspNetCore.App "${pkgdir}"/usr/share/dotnet/shared/
ln -s dotnet-host-3.1 "${pkgdir}"/usr/share/licenses/aspnet-runtime-3.1
}
package_dotnet-sdk-3.1-bin() {
pkgdesc='The .NET Core SDK 3.1 (binary)'
depends=(
'dotnet-runtime-3.1'
'glibc'
'dotnet-targeting-pack-3.1'
'netstandard-targeting-pack-2.1')
optdepends=('aspnet-targeting-pack-bin: Build ASP.NET Core applications')
provides=("dotnet-sdk=${pkgver}" "dotnet-sdk-3.1")
conflicts=("dotnet-sdk=${pkgver}" "dotnet-sdk-3.1")
install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
cp -dr --no-preserve='ownership' sdk templates "${pkgdir}"/usr/share/dotnet/
ln -s dotnet-host-3.1 "${pkgdir}"/usr/share/licenses/dotnet-sdk-3.1
}
package_dotnet-targeting-pack-3.1-bin() {
pkgdesc='The .NET Core targeting pack 3.1 (binary)'
depends=(netstandard-targeting-pack-2.1)
provides=(dotnet-targeting-pack=${_runtimever} dotnet-targeting-pack-3.1)
conflicts=(dotnet-targeting-pack=${_runtimever} dotnet-targeting-pack-3.1)
if [ $CARCH = 'x86_64' ]; then msarch=x64;
elif [ $CARCH = 'armv7h' ]; then msarch=arm;
elif [ $CARCH = 'aarch64' ]; then msarch=arm64; fi
install -dm 755 "${pkgdir}"/usr/share/{dotnet,dotnet/packs,licenses}
cp -dr --no-preserve='ownership' packs/Microsoft.NETCore.App.{Host.linux-${msarch},Ref} "${pkgdir}"/usr/share/dotnet/packs/
ln -s dotnet-host-3.1 "${pkgdir}"/usr/share/licenses/dotnet-targeting-pack-3.1
}
package_aspnet-targeting-pack-3.1-bin() {
pkgdesc='The ASP.NET Core targeting pack 3.1 (binary)'
depends=(dotnet-targeting-pack-3.1)
provides=(aspnet-targeting-pack=${_runtimever} aspnet-targeting-pack-3.1)
conflicts=(aspnet-targeting-pack=${_runtimever} aspnet-targeting-pack-3.1)
install -dm 755 "${pkgdir}"/usr/share/{dotnet,dotnet/packs,licenses}
cp -dr --no-preserve='ownership' packs/Microsoft.AspNetCore.App.Ref "${pkgdir}"/usr/share/dotnet/packs/
ln -s dotnet-host-3.1 "${pkgdir}"/usr/share/licenses/aspnet-targeting-pack-3.1
}
|