1
0
mirror of https://aur.archlinux.org/linux-vfio.git synced 2025-07-22 13:57:12 +00:00
This commit is contained in:
xiota
2025-03-24 06:47:43 +00:00
parent 45cde35540
commit 0986ce9ce9
2 changed files with 12 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
: ${_build_level:=1}
: ${_cksum:=3a39b62038b7ac2f43d26a1f84b4283e197804e1e817ad637e9a3d874c47801d}
: ${_cksum:=259afa59d73d676bec2ae89beacd949e08d54d3f70a7f8b0a742315095751abb}
unset _pkgtype
[[ ${_build_vfio::1} == "t" ]] && _pkgtype+="-vfio"
@@ -26,7 +26,7 @@ unset _pkgtype
_gitname="linux"
_pkgname="$_gitname${_pkgtype:-}"
pkgbase="$_pkgname"
pkgver=6.13.7
pkgver=6.13.8
pkgrel=1
pkgdesc='Linux'
url='https://www.kernel.org'
@@ -57,8 +57,8 @@ options=('!debug' '!strip')
_dl_url_arch='https://gitlab.archlinux.org/archlinux/packaging/packages/linux'
_srctag=$(
git ls-remote "$_dl_url_arch.git" \
| grep -Eo "${pkgver//./\\.}.arch[0-9]+-[0-9]+\$" \
curl -sSfL --max-redirs 3 --no-progress-meter "$_dl_url_arch/-/tags?sort=updated_desc&search=${pkgver}&format=atom" \
| grep -Eo "${pkgver//./\\.}.arch[0-9]+-[0-9]+" \
| sort -rV | head -1
)
: ${_srctag:=main}
@@ -93,7 +93,7 @@ fi
if [[ ${_build_arch_patch::1} == "t" ]]; then
_dl_url_arch='https://github.com/archlinux/linux'
_srctag=$(
git ls-remote "$_dl_url_arch.git" \
curl -sSfL --max-redirs 3 --no-progress-meter "$_dl_url_arch/tags.atom" \
| grep -Eo "v${pkgver}-arch[0-9]+" \
| sort -rV | head -1
)