diff options
| author | Maciej Barć <xgqt@gentoo.org> | 2023-10-14 10:34:35 +0200 |
|---|---|---|
| committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-14 11:56:48 +0200 |
| commit | 34f0031a3e16334eb9ce35d0532373dd837e3fbb (patch) | |
| tree | 29a0492018b24faf8a3331b627af196399f09517 /dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.12.ebuild | |
| parent | 0f4e522584f57a82f1a4d281763c44fba56f3fbe (diff) | |
| download | gentoo-34f0031a3e16334eb9ce35d0532373dd837e3fbb.tar.gz gentoo-34f0031a3e16334eb9ce35d0532373dd837e3fbb.tar.bz2 gentoo-34f0031a3e16334eb9ce35d0532373dd837e3fbb.zip | |
dev-dotnet/dotnet-runtime-nugets: bump to 7.0.12
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.12.ebuild')
| -rw-r--r-- | dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.12.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.12.ebuild b/dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.12.ebuild new file mode 100644 index 000000000000..fac0abcfdc89 --- /dev/null +++ b/dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT=$(ver_cut 1-2) +NUGETS=" +microsoft.aspnetcore.app.ref@${PV} +microsoft.aspnetcore.app.runtime.linux-arm@${PV} +microsoft.aspnetcore.app.runtime.linux-arm64@${PV} +microsoft.aspnetcore.app.runtime.linux-musl-arm@${PV} +microsoft.aspnetcore.app.runtime.linux-musl-arm64@${PV} +microsoft.aspnetcore.app.runtime.linux-musl-x64@${PV} +microsoft.aspnetcore.app.runtime.linux-x64@${PV} +microsoft.netcore.app.host.linux-arm@${PV} +microsoft.netcore.app.host.linux-arm64@${PV} +microsoft.netcore.app.host.linux-musl-arm@${PV} +microsoft.netcore.app.host.linux-musl-arm64@${PV} +microsoft.netcore.app.host.linux-musl-x64@${PV} +microsoft.netcore.app.host.linux-x64@${PV} +microsoft.netcore.app.ref@${PV} +microsoft.netcore.app.runtime.linux-arm@${PV} +microsoft.netcore.app.runtime.linux-arm64@${PV} +microsoft.netcore.app.runtime.linux-musl-arm@${PV} +microsoft.netcore.app.runtime.linux-musl-arm64@${PV} +microsoft.netcore.app.runtime.linux-musl-x64@${PV} +microsoft.netcore.app.runtime.linux-x64@${PV} +" + +inherit dotnet-pkg-base + +DESCRIPTION=".NET runtime nugets" +HOMEPAGE="https://dotnet.microsoft.com/" +SRC_URI="${NUGET_URIS}" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV}/${PV}" +KEYWORDS="~amd64 ~arm ~arm64" + +src_unpack() { + : +} + +src_install() { + nuget_donuget "${DISTDIR}/microsoft.aspnetcore.app.ref.${PV}.nupkg" + nuget_donuget "${DISTDIR}/microsoft.netcore.app.ref.${PV}.nupkg" + + local runtime=$(dotnet-pkg-base_get-runtime) + local -a nuget_namespaces=( + microsoft.aspnetcore.app.runtime + microsoft.netcore.app.host + microsoft.netcore.app.runtime + ) + local nuget_namespace + for nuget_namespace in "${nuget_namespaces[@]}" ; do + nuget_donuget "${DISTDIR}/${nuget_namespace}.${runtime}.${PV}.nupkg" + done +} |
