Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / 
dotnet-core-6.0


Commits:
98fbeb55 by Maxime Gauduin at 2026-05-27T23:36:07+02:00
add nvchecker

- - - - -


2 changed files:

- .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -1,4 +1,6 @@
 ["dotnet-core-6.0"]
 source = "git"
 git = "https://github.com/dotnet/installer.git";
-prefix = "v"
+include_regex = 'v6\.0\.1\d+'
+from_pattern = 'v(\d+)\.(\d+)\.1(\d{2})'
+to_pattern = '\1.\2.\3.sdk1\3'


=====================================
PKGBUILD
=====================================
@@ -43,9 +43,8 @@ options=(
   !lto
   staticlibs
 )
-_tag=d638663530d923adbe0442604b7a6562127321e9
 source=(
-  dotnet-installer::git+https://github.com/dotnet/installer.git#tag=${_tag}
+  
dotnet-installer::git+https://github.com/dotnet/installer.git#tag=v${pkgver/.*.sdk/.0.}
   dotnet.sh
   dotnet-core-runtime-disable-package-validation.patch
   dotnet-core-sdk-telemetry-optout.patch
@@ -63,27 +62,6 @@ prepare() {
   git remote set-url origin https://github.com/dotnet/installer.git
 }
 
-pkgver() {
-  cd dotnet-installer
-
-  if [[ $(git describe --tags) != v6.0.* ]]; then
-    msg "Invalid SDK version"
-    exit 1
-  fi
-
-  local _standardver=$(xmllint --xpath 
"//*[local-name()='NETStandardLibraryRefPackageVersion']/text()" 
eng/Versions.props)
-
-  if [[ $_standardver != 2.1.0 ]]; then
-    msg "Invalid Standard version"
-    exit 1
-  fi
-
-  local _sdkver=$(xmllint --xpath "//*[local-name()='VersionSDKMinor']/text()" 
eng/Versions.props)$(xmllint --xpath 
"//*[local-name()='VersionFeature']/text()" eng/Versions.props)
-  local _runtimever=$(xmllint --xpath 
"//*[local-name()='MicrosoftNETCoreAppRuntimewinx64PackageVersion']/text()" 
eng/Versions.props)
-
-  echo "${_runtimever}.sdk${_sdkver}"
-}
-
 build() {
   export COMPlus_LTTng=0
   export VERBOSE=1



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-6.0/-/commit/98fbeb552216b0d8645a91820b4addc009e3e26e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-6.0/-/commit/98fbeb552216b0d8645a91820b4addc009e3e26e
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to