diff options
author | Alexander Egorov | 2023-09-06 19:52:47 +0300 |
---|---|---|
committer | Alexander Egorov | 2023-09-06 19:52:47 +0300 |
commit | 9cb75f45f45b1d2e12b3e1509dc81c74738d6ce3 (patch) | |
tree | 0c1ef253ff857de049ed6f52114c2dc62a26067c | |
download | aur-9cb75f45f45b1d2e12b3e1509dc81c74738d6ce3.tar.gz |
Packages created
-rw-r--r-- | .SRCINFO | 68 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 104 |
3 files changed, 178 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..28dfd680bfba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,68 @@ +pkgbase = dotnet-core-6.0.110-bin + pkgver = 6.0.10.sdk110 + pkgrel = 1 + url = https://www.microsoft.com/net/core + arch = x86_64 + arch = armv7h + arch = aarch64 + license = MIT + options = staticlibs + source_x86_64 = https://download.visualstudio.microsoft.com/download/pr/3e527e7b-3a94-48a7-a392-2e75f20a6d15/1d253d740e987ac9c79f33967f18066d/dotnet-sdk-6.0.110-linux-x64.tar.gz + sha512sums_x86_64 = 104da00b7bfe1f564723e2314d432ad9044cbfa9ad851bc99e06e730a032c6178e487a8bee3f28f8309a32652df0143301be0b827a0c7ad00614a1ce850495e8 + source_armv7h = https://download.visualstudio.microsoft.com/download/pr/ec48c241-aa98-44fb-8e9e-f8ec91f048ec/8c9b79c23058a1c0ad7b3e0fdc340d41/dotnet-sdk-6.0.110-linux-arm.tar.gz + sha512sums_armv7h = ed8a0a3c5edc42b6e82dc925c35ebd3ba0ddf94b98c97febb0f4ffa758b369b2c063935fa62cc5e18c1f26e64e0618daf2600d8a9946a0d44f6103d725d99091 + source_aarch64 = https://download.visualstudio.microsoft.com/download/pr/1a0faccb-a85e-43b7-b2a6-78ee8b975855/572b91765e7db29d33887cf4b87bc86c/dotnet-sdk-6.0.110-linux-arm64.tar.gz + sha512sums_aarch64 = da312773a6def29612ea6898c489b86b2546e5e52c7c890134712c64fb3c0e52dfab88d8589858f9a9b39c3d2c9fc39406d6da251e3cfca399eb93df0c9ad5c6 + +pkgname = aspnet-runtime-6.0.110-bin + pkgdesc = The ASP.NET Core runtime (binary) + depends = dotnet-runtime-6.0.110-bin + provides = aspnet-runtime=6.0.10 + provides = aspnet-runtime-6.0.110 + conflicts = aspnet-runtime=6.0.10 + conflicts = aspnet-runtime-6.0.110 + +pkgname = dotnet-runtime-6.0.110-bin + pkgdesc = The .NET Core runtime (binary) + depends = dotnet-host>=6.0.10 + depends = gcc-libs + depends = glibc + depends = icu + depends = libgssapi_krb5.so + depends = libunwind + depends = zlib + depends = openssl + optdepends = lttng-ust: CoreCLR tracing + provides = dotnet-runtime=6.0.10 + provides = dotnet-runtime-6.0.110 + conflicts = dotnet-runtime=6.0.10 + conflicts = dotnet-runtime-6.0.110 + +pkgname = dotnet-sdk-6.0.110-bin + pkgdesc = The .NET Core SDK (binary) + depends = glibc + depends = gcc-libs + depends = dotnet-runtime-6.0.110-bin + depends = dotnet-targeting-pack-6.0.110-bin + depends = netstandard-targeting-pack + optdepends = aspnet-targeting-pack-bin: Build ASP.NET Core applications + provides = dotnet-sdk=6.0.10.sdk110 + provides = dotnet-sdk-6.0.110 + conflicts = dotnet-sdk=6.0.10.sdk110 + conflicts = dotnet-sdk-6.0.110 + +pkgname = dotnet-targeting-pack-6.0.110-bin + pkgdesc = The .NET Core targeting pack (binary) + depends = netstandard-targeting-pack + provides = dotnet-targeting-pack=6.0.10 + provides = dotnet-targeting-pack-6.0.110 + conflicts = dotnet-targeting-pack=6.0.10 + conflicts = dotnet-targeting-pack-6.0.110 + +pkgname = aspnet-targeting-pack-6.0.110-bin + pkgdesc = The ASP.NET Core targeting pack (binary) + depends = dotnet-targeting-pack-6.0.110-bin + provides = aspnet-targeting-pack=6.0.10 + provides = aspnet-targeting-pack-6.0.110 + conflicts = aspnet-targeting-pack=6.0.10 + conflicts = aspnet-targeting-pack-6.0.110 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..eaa3d659ded6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +src/ +pkg/ +dotnet-*.tar.gz +dotnet-*.tar.zst +aspnet-*.tar.zst +netstandard-*.tar.zst diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f492383be94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,104 @@ +# Maintainer: Alexander Egorov <egoroff[at]gmail[dot]com> +# armv7h and aarch64 Comaintainers needed + +pkgbase=dotnet-core-6.0.110-bin +pkgname=( + 'aspnet-runtime-6.0.110-bin' + 'dotnet-runtime-6.0.110-bin' + 'dotnet-sdk-6.0.110-bin' + 'dotnet-targeting-pack-6.0.110-bin' + 'aspnet-targeting-pack-6.0.110-bin' + ) +pkgver=6.0.10.sdk110 +_runtimever=6.0.10 +_sdkver=6.0.110 +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/ec48c241-aa98-44fb-8e9e-f8ec91f048ec/8c9b79c23058a1c0ad7b3e0fdc340d41/dotnet-sdk-6.0.110-linux-arm.tar.gz') +source_aarch64=('https://download.visualstudio.microsoft.com/download/pr/1a0faccb-a85e-43b7-b2a6-78ee8b975855/572b91765e7db29d33887cf4b87bc86c/dotnet-sdk-6.0.110-linux-arm64.tar.gz') +source_x86_64=('https://download.visualstudio.microsoft.com/download/pr/3e527e7b-3a94-48a7-a392-2e75f20a6d15/1d253d740e987ac9c79f33967f18066d/dotnet-sdk-6.0.110-linux-x64.tar.gz') +sha512sums_armv7h=('ed8a0a3c5edc42b6e82dc925c35ebd3ba0ddf94b98c97febb0f4ffa758b369b2c063935fa62cc5e18c1f26e64e0618daf2600d8a9946a0d44f6103d725d99091') +sha512sums_aarch64=('da312773a6def29612ea6898c489b86b2546e5e52c7c890134712c64fb3c0e52dfab88d8589858f9a9b39c3d2c9fc39406d6da251e3cfca399eb93df0c9ad5c6') +sha512sums_x86_64=('104da00b7bfe1f564723e2314d432ad9044cbfa9ad851bc99e06e730a032c6178e487a8bee3f28f8309a32652df0143301be0b827a0c7ad00614a1ce850495e8') + +package_dotnet-runtime-6.0.110-bin() { + pkgdesc='The .NET Core runtime (binary)' + depends=( + "dotnet-host>=${_runtimever}" + 'gcc-libs' + 'glibc' + 'icu' + 'libgssapi_krb5.so' + 'libunwind' + 'zlib' + 'openssl' + ) + optdepends=('lttng-ust: CoreCLR tracing') + provides=("dotnet-runtime=${_runtimever}" "dotnet-runtime-6.0.110") + conflicts=("dotnet-runtime=${_runtimever}" "dotnet-runtime-6.0.110") + + 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-bin "${pkgdir}"/usr/share/licenses/dotnet-runtime-6.0.110-bin +} + +package_aspnet-runtime-6.0.110-bin() { + pkgdesc='The ASP.NET Core runtime (binary)' + depends=('dotnet-runtime-6.0.110-bin') + provides=("aspnet-runtime=${_runtimever}" "aspnet-runtime-6.0.110") + conflicts=("aspnet-runtime=${_runtimever}" "aspnet-runtime-6.0.110") + + 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-bin "${pkgdir}"/usr/share/licenses/aspnet-runtime-6.0.110-bin +} + +package_dotnet-sdk-6.0.110-bin() { + pkgdesc='The .NET Core SDK (binary)' + depends=( + 'glibc' + 'gcc-libs' + 'dotnet-runtime-6.0.110-bin' + 'dotnet-targeting-pack-6.0.110-bin' + 'netstandard-targeting-pack') + optdepends=('aspnet-targeting-pack-bin: Build ASP.NET Core applications') + provides=("dotnet-sdk=${pkgver}" "dotnet-sdk-6.0.110") + conflicts=("dotnet-sdk=${pkgver}" "dotnet-sdk-6.0.110") + + install -dm 755 "${pkgdir}"/usr/share/{dotnet,licenses} + cp -dr --no-preserve='ownership' sdk sdk-manifests templates "${pkgdir}"/usr/share/dotnet/ + ln -s dotnet-host-bin "${pkgdir}"/usr/share/licenses/dotnet-sdk-6.0.110-bin +} + +package_dotnet-targeting-pack-6.0.110-bin() { + pkgdesc='The .NET Core targeting pack (binary)' + depends=( + 'netstandard-targeting-pack' + ) + provides=(dotnet-targeting-pack=${_runtimever} dotnet-targeting-pack-6.0.110) + conflicts=(dotnet-targeting-pack=${_runtimever} dotnet-targeting-pack-6.0.110) + + 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-bin "${pkgdir}"/usr/share/licenses/dotnet-targeting-pack-6.0.110-bin +} + +package_aspnet-targeting-pack-6.0.110-bin() { + pkgdesc='The ASP.NET Core targeting pack (binary)' + depends=( + 'dotnet-targeting-pack-6.0.110-bin' + ) + provides=(aspnet-targeting-pack=${_runtimever} aspnet-targeting-pack-6.0.110) + conflicts=(aspnet-targeting-pack=${_runtimever} aspnet-targeting-pack-6.0.110) + + 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-bin "${pkgdir}"/usr/share/licenses/aspnet-targeting-pack-6.0.110-bin +} |