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


Commits:
63259f1a by Maxime Gauduin at 2026-05-27T23:25:39+02:00
add nvchecker

- - - - -


2 changed files:

- .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -1,4 +1,8 @@
 ["dotnet-core-8.0"]
-source = "git"
-git = "https://github.com/dotnet/dotnet.git";
-prefix = "v"
+source = "github"
+github = "dotnet/dotnet"
+use_max_release = true
+use_release_name = true
+include_regex = '^\.NET 8\.0\.\d+ / 8\.0\.\d+\s*$'
+from_pattern = '^\.NET (8\.0\.\d+) / 8\.0\.(\d+)\s*$'
+to_pattern = '\1.sdk\2'


=====================================
PKGBUILD
=====================================
@@ -44,7 +44,7 @@ options=(
   staticlibs
 )
 _tag=56fc147a7ac76b53fb65b82756da001129b26cc4
-source=(git+https://github.com/dotnet/dotnet.git#tag=${_tag})
+source=(git+https://github.com/dotnet/dotnet.git#tag=v${pkgver/.*.sdk/.0.})
 
b2sums=('e3bdc416afbe944e10682eb052a9dc6d91a21452f2274c5bff828aeb04225ff730c5fff014691f8a91b038603010826d264017d88523dc5d2e8358c169b2bf9a')
 
 prepare() {
@@ -69,27 +69,6 @@ case ${CARCH} in
   x86_64*) _ARCH=x64;;
 esac
 
-pkgver() {
-  cd dotnet
-
-  if [[ $(git describe --tags) != v8.0.* ]]; then
-    msg "Invalid SDK version"
-    exit 1
-  fi
-
-  local _standardver=$(xmllint --xpath 
"//*[local-name()='NETStandardLibraryRefPackageVersion']/text()" 
src/installer/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/installer/eng/Versions.props)$(xmllint --xpath 
"//*[local-name()='VersionFeature']/text()" src/installer/eng/Versions.props)
-  local _runtimever=$(xmllint --xpath 
"//*[local-name()='MicrosoftNETCoreAppRuntimewinx64PackageVersion']/text()" 
src/installer/eng/Versions.props)
-
-  echo "${_runtimever}.sdk${_sdkver}"
-}
-
 build() {
   cd dotnet
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-8.0/-/commit/63259f1a669ae505594bc53157da99981d4a4262

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