1
0
mirror of https://aur.archlinux.org/linux-vfio.git synced 2025-07-22 11:37:12 +00:00
This commit is contained in:
xiota
2025-04-01 14:25:58 +00:00
parent 0986ce9ce9
commit f2ac2489a8
2 changed files with 10 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = linux-vfio
pkgdesc = Linux
pkgver = 6.13.8
pkgver = 6.13.9
pkgrel = 1
url = https://www.kernel.org
arch = x86_64
@@ -25,9 +25,9 @@ pkgbase = linux-vfio
makedepends = texlive-latexextra
options = !debug
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.8.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.8.tar.sign
source = config-6.13.8::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/6.13.8.arch1-1/config
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.9.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.9.tar.sign
source = config-6.13.9::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config
source = 1001-6.13.0-add-acs-overrides.patch
source = 1002-6.13.0-i915-vga-arbiter.patch
source = https://github.com/archlinux/linux/releases/download/v6.13.8-arch1/linux-v6.13.8-arch1.patch.zst
@@ -35,7 +35,7 @@ pkgbase = linux-vfio
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF
sha256sums = 259afa59d73d676bec2ae89beacd949e08d54d3f70a7f8b0a742315095751abb
sha256sums = 53e7a3f028b6119ba499245bde0fa10275752817408a4a36b5a34ad74a4727b2
sha256sums = SKIP
sha256sums = SKIP
sha256sums = 569742a1c7ce7996ee4c650c444ed13d650fff7b84f23a16e6358693e58aee9f

View File

@@ -14,7 +14,7 @@
: ${_build_level:=1}
: ${_cksum:=259afa59d73d676bec2ae89beacd949e08d54d3f70a7f8b0a742315095751abb}
: ${_cksum:=53e7a3f028b6119ba499245bde0fa10275752817408a4a36b5a34ad74a4727b2}
unset _pkgtype
[[ ${_build_vfio::1} == "t" ]] && _pkgtype+="-vfio"
@@ -26,7 +26,7 @@ unset _pkgtype
_gitname="linux"
_pkgname="$_gitname${_pkgtype:-}"
pkgbase="$_pkgname"
pkgver=6.13.8
pkgver=6.13.9
pkgrel=1
pkgdesc='Linux'
url='https://www.kernel.org'
@@ -91,10 +91,12 @@ if [[ ${_build_vfio::1} == "t" ]]; then
fi
if [[ ${_build_arch_patch::1} == "t" ]]; then
[[ ${pkgver} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && _pkgver=${pkgver%.*}
_dl_url_arch='https://github.com/archlinux/linux'
_srctag=$(
curl -sSfL --max-redirs 3 --no-progress-meter "$_dl_url_arch/tags.atom" \
| grep -Eo "v${pkgver}-arch[0-9]+" \
| grep -Eom1 "v${_pkgver}\S*-arch[0-9]+" \
| sort -rV | head -1
)
: ${_srctag:=v${pkgver}-arch1}
@@ -108,20 +110,6 @@ if [[ ${_build_arch_patch::1} == "t" ]]; then
)
fi
case "$CARCH" in
x86_64_v2)
_build_level=2
;;
x86_64_v3)
_build_level=3
;;
x86_64_v4)
_build_level=4
;;
*) # no changes; may be user defined
;;
esac
if [[ ${_build_clang::1} == "t" ]]; then
makedepends+=(clang llvm lld)