Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: dotnet-sdk-bin-3.1.102 #20147

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions srcpkgs/dotnet-sdk-bin/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Template file for 'dotnet-sdk-bin'
pkgname=dotnet-sdk-bin
version=3.1.102
revision=1
archs="x86_64 armv7 aarch64"
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
short_desc="Provides the .NET SDK components, precompiled binaries"
maintainer="Abel Tesfaye <abel-tesfaye@hotmail.com>"
license="MIT"
homepage="https://dotnet.microsoft.com"
nopie=yes

case "${XBPS_TARGET_MACHINE}" in
x86_64)
_arch="x64"
_path="57e63f03-ebdf-4c22-96ff-2b85dc70cf7f/988576869e82a80f4a97ca5a733a5295"
distfiles="https://download.visualstudio.microsoft.com/download/pr/${_path}/dotnet-sdk-${version}-linux-${_arch}.tar.gz"
checksum="e03ceeb5beaf7c228bd8dcbf7712cf12f5ccbfcd6d426afff78bfbd4524ff558"
;;
armv7l)
_arch="arm"
_path="349f13f0-400e-476c-ba10-fe284b35b932/44a5863469051c5cf103129f1423ddb8"
distfiles="https://download.visualstudio.microsoft.com/download/pr/${_path}/dotnet-sdk-${version}-linux-${_arch}.tar.gz"
checksum="52d700dfd60411d18be8ba19581c03d463996381bb0ede6f49e836893519e61b"
;;
aarch64)
_arch="arm64"
_path="2ea7ea69-6110-4c39-a07c-bd4df663e49b/5d60f17a167a5696e63904f7a586d072"
distfiles="https://download.visualstudio.microsoft.com/download/pr/${_path}/dotnet-sdk-${version}-linux-${_arch}.tar.gz"
checksum="5cca7c002bb56059cb1813135c57b83dfe08c987362628d3e10d2ad00c578539"
;;
esac

_target='usr/lib/dotnet'

do_install() {
vmkdir usr/bin
ln -sf "/${_target}/dotnet" "${DESTDIR}/usr/bin/dotnet"
vmkdir "${_target}"
vcopy dotnet "${_target}"
vcopy host "${_target}"
vcopy shared "${_target}"
vcopy sdk "${_target}"
vlicense LICENSE.txt
}