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-03-13 19:12:38 +00:00
parent a34331a0d9
commit cb6d92e2af
2 changed files with 24 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = linux-vfio pkgbase = linux-vfio
pkgdesc = Linux pkgdesc = Linux
pkgver = 6.13.6 pkgver = 6.13.7
pkgrel = 1 pkgrel = 1
url = https://www.kernel.org url = https://www.kernel.org
arch = x86_64 arch = x86_64
@@ -24,17 +24,17 @@ pkgbase = linux-vfio
makedepends = texlive-latexextra makedepends = texlive-latexextra
options = !debug options = !debug
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.6.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.7.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.6.tar.sign source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.13.7.tar.sign
source = config-6.13.6::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config source = config-6.13.7::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config
source = 1001-6.13.0-add-acs-overrides.patch source = 1001-6.13.0-add-acs-overrides.patch
source = 1002-6.13.0-i915-vga-arbiter.patch source = 1002-6.13.0-i915-vga-arbiter.patch
source = https://github.com/archlinux/linux/releases/download/v6.13.6-arch1/linux-v6.13.6-arch1.patch.zst source = https://github.com/archlinux/linux/releases/download/v6.13.7-arch1/linux-v6.13.7-arch1.patch.zst
source = https://github.com/archlinux/linux/releases/download/v6.13.6-arch1/linux-v6.13.6-arch1.patch.zst.sig source = https://github.com/archlinux/linux/releases/download/v6.13.7-arch1/linux-v6.13.7-arch1.patch.zst.sig
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF
sha256sums = de0053cb413d408f20fd1d5788219951b8a4403e5dac1b1d9032090938acd199 sha256sums = 3a39b62038b7ac2f43d26a1f84b4283e197804e1e817ad637e9a3d874c47801d
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = 569742a1c7ce7996ee4c650c444ed13d650fff7b84f23a16e6358693e58aee9f sha256sums = 569742a1c7ce7996ee4c650c444ed13d650fff7b84f23a16e6358693e58aee9f

View File

@@ -14,7 +14,7 @@
: ${_build_level:=1} : ${_build_level:=1}
: ${_cksum:=de0053cb413d408f20fd1d5788219951b8a4403e5dac1b1d9032090938acd199} : ${_cksum:=3a39b62038b7ac2f43d26a1f84b4283e197804e1e817ad637e9a3d874c47801d}
unset _pkgtype unset _pkgtype
[[ ${_build_vfio::1} == "t" ]] && _pkgtype+="-vfio" [[ ${_build_vfio::1} == "t" ]] && _pkgtype+="-vfio"
@@ -26,7 +26,7 @@ unset _pkgtype
_gitname="linux" _gitname="linux"
_pkgname="$_gitname${_pkgtype:-}" _pkgname="$_gitname${_pkgtype:-}"
pkgbase="$_pkgname" pkgbase="$_pkgname"
pkgver=6.13.6 pkgver=6.13.7
pkgrel=1 pkgrel=1
pkgdesc='Linux' pkgdesc='Linux'
url='https://www.kernel.org' url='https://www.kernel.org'
@@ -54,10 +54,18 @@ makedepends=(
options=('!debug' '!strip') 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]+\$" \
| sort -rV | head -1
)
: ${_srctag:=main}
_srcname=linux-$pkgver _srcname=linux-$pkgver
source=( source=(
https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar".{xz,sign}
"config-$pkgver"::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config "config-$pkgver"::"$_dl_url_arch/-/raw/$_srctag/config"
) )
sha256sums=( sha256sums=(
"${_cksum:?}" "${_cksum:?}"
@@ -82,8 +90,12 @@ if [[ ${_build_vfio::1} == "t" ]]; then
fi fi
if [[ ${_build_arch_patch::1} == "t" ]]; then if [[ ${_build_arch_patch::1} == "t" ]]; then
_srctag=v${pkgver}-arch1
_dl_url_arch='https://github.com/archlinux/linux' _dl_url_arch='https://github.com/archlinux/linux'
_srctag=$(
git ls-remote "$_dl_url_arch.git" \
| grep -Eo "v${pkgver}-arch[0-9]+" \
| sort -rV | head -1
)
source+=( source+=(
$_dl_url_arch/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} $_dl_url_arch/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig}