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


Commits:
330cce0a by Maxime Gauduin at 2026-05-27T23:09:05+02:00
add nvchecker

- - - - -


2 changed files:

- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,8 @@
+["dotnet-core-9.0"]
+source = "github"
+github = "dotnet/dotnet"
+use_latest_release = true
+use_release_name = true
+from_pattern = ".NET (\\d+.0.\\d+) / \\d+.0.(\\d+)\\s*$"
+to_pattern = "\\1.sdk\\2"
+include_regex = "9.0.\\d+"


=====================================
PKGBUILD
=====================================
@@ -43,7 +43,7 @@ options=(
   staticlibs
 )
 _tag=14d5ddefede18b29eb0f2ea918c79861a5211177
-source=(git+https://github.com/dotnet/dotnet.git#tag=${_tag})
+source=(git+https://github.com/dotnet/dotnet.git#tag=v${pkgver/.*.sdk/.0.})
 
b2sums=('006cddcd256da821c58d056a9d6716a02f830ac90105d2241b51e02da048dca1d4b0140d222a11250b305ee9ca23816e0a7498944264d4024692f8089d187704')
 
 prepare() {
@@ -62,27 +62,6 @@ prepare() {
   ./prep-source-build.sh
 }
 
-pkgver() {
-  cd dotnet
-
-  if [[ $(git describe --tags) != v9.0.* ]]; then
-    msg "Invalid SDK version"
-    exit 1
-  fi
-
-  local _standardver=$(xmllint --xpath 
"//*[local-name()='NETStandardLibraryRefPackageVersion']/text()" 
src/sdk/eng/Versions.props)
-
-  if [[ $_standardver != 2.1.0 ]]; then
-    msg "Invalid Standard version"
-    exit 1
-  fi
-
-  local _sdkver=$(xmllint --xpath "//*[local-name()='VersionSDKMinor']/text()" 
src/sdk/eng/Versions.props)$(xmllint --xpath 
"//*[local-name()='VersionFeature']/text()" src/sdk/eng/Versions.props)
-  local _runtimever=$(xmllint --xpath 
"//*[local-name()='ProductVersion']/text()" src/runtime/eng/Versions.props)
-
-  echo "${_runtimever}.sdk${_sdkver}"
-}
-
 build() {
   cd dotnet
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-9.0/-/commit/330cce0a787ee0f23d03782a9ffc314872175d48

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-9.0/-/commit/330cce0a787ee0f23d03782a9ffc314872175d48
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