Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Attila Greguss <floyd0122[at]gmail[dot]com>
- pkgbase=dotnet-core-2.2.1xx
- pkgname=('dotnet-runtime-2.2.1xx' 'dotnet-sdk-2.2.1xx')
- pkgver=2.2.8.sdk110
- _runtimever=2.2.8
- _sdkver=2.2.110
- pkgrel=1
- arch=('x86_64' 'armv7h' 'aarch64')
- url='https://www.microsoft.com/net/core'
- license=('MIT')
- makedepends=(
- 'clang' 'cmake' 'curl' 'git' 'icu' 'krb5' 'libunwind' 'lldb' 'llvm'
- 'openssl' 'zlib'
- )
- options=('staticlibs')
- # sources are taken from
- # https://github.com/dotnet/core/blob/master/release-notes/2.2/releases.json
- source_armv7h=('https://download.visualstudio.microsoft.com/download/pr/57666a6d-0c82-4431-b251-f70356a1b6f7/8190a9b4ff5e962eb4547955c88848c3/dotnet-sdk-2.1.805-linux-arm.tar.gz')
- source_aarch64=('https://download.visualstudio.microsoft.com/download/pr/e9a7e3c5-2db0-4eb2-9dc4-cc7060d0ee81/1ed6a7621a066dd15a06d4bb4a894a29/dotnet-sdk-2.1.805-linux-arm64.tar.gz')
- source_x86_64=('https://download.visualstudio.microsoft.com/download/pr/42f39f2f-3f24-4340-8c57-0a3133620c21/0a353696275b00cbddc9f60069867cfc/dotnet-sdk-2.2.110-linux-x64.tar.gz')
- sha512sums_armv7h=('3690df6eeea6ce16986450d442e1881c42164250399f11fcc05ee539328b2fe0c54cacf08b1c9ee63dc38a468d19e4b4046ca08b430cc2ba47f8f03803caa7a6')
- sha512sums_aarch64=('917e48c9f6a46afd8600db405b5eabe5a067d3579c4976e8ab4626a909188a53979e4cb3119f3203f751ba9d760f8e38bfd6b4759f0887cd8cb18fb1efb159ca')
- sha512sums_x86_64=('cd3bc601ccc45edf38cdcc254831b88539dd51f26bdafa2d74eebb09d20d19d745fe319a93c4290e3b74a7a5d8fe851773a748ef0f23f7997c76b26e74d0d94f')
- # Versioning details for dependencies
- # https://docs.microsoft.com/en-us/dotnet/core/versions/#versioning-details
- package_dotnet-runtime-2.2.1xx() {
- pkgdesc='The .NET Core runtime version 2.2'
- depends=('dotnet-host' 'icu' 'krb5' 'libunwind' 'openssl' 'zlib'
- 'libcurl.so')
- optdepends=('lttng-ust: CoreCLR tracing')
- provides=("dotnet-runtime-2.2" "dotnet-runtime=${pkgver}")
- conflicts=("dotnet-runtime-2.2")
- 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-2.2 "${pkgdir}"/usr/share/licenses/dotnet-runtime-2.2
- }
- package_dotnet-sdk-2.2.1xx() {
- pkgdesc='The .NET Core SDK version 2.2.1xx for VS 2017'
- depends=('dotnet-runtime-2.2.1xx')
- provides=("dotnet-sdk-2.2" "dotnet-sdk=${pkgver}")
- conflicts=("dotnet-sdk-2.2")
- install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses}
- cp -dr --no-preserve='ownership' sdk "${pkgdir}"/usr/share/dotnet/
- ln -s dotnet-host-2.2 "${pkgdir}"/usr/share/licenses/dotnet-sdk-2.2
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement