1
0
mirror of https://aur.archlinux.org/linux-vfio.git synced 2026-04-16 20:57:32 +00:00
This commit is contained in:
xiota
2026-04-13 07:12:13 +00:00
parent bb6ffb5e40
commit ee8b50fba5
2 changed files with 23 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = linux-vfio
pkgdesc = Linux
pkgver = 6.19.11
pkgver = 6.19.12
pkgrel = 1
url = https://www.kernel.org
arch = x86_64
@@ -24,17 +24,17 @@ pkgbase = linux-vfio
makedepends = texlive-latexextra
options = !debug
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.19.11.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.19.11.tar.sign
source = config-6.19.11::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/6.19.11.arch1-1/config.x86_64
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.19.12.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.19.12.tar.sign
source = config-6.19.12::https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/6.19.12.arch1-1/config.x86_64
source = 1001-6.14.0-add-acs-overrides.patch
source = 1002-6.18.0-i915-vga-arbiter.patch
source = https://github.com/archlinux/linux/releases/download/v6.19.11-arch1/linux-v6.19.11-arch1.patch.zst
source = https://github.com/archlinux/linux/releases/download/v6.19.11-arch1/linux-v6.19.11-arch1.patch.zst.sig
source = https://github.com/archlinux/linux/releases/download/v6.19.12-arch1/linux-v6.19.12-arch1.patch.zst
source = https://github.com/archlinux/linux/releases/download/v6.19.12-arch1/linux-v6.19.12-arch1.patch.zst.sig
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
validpgpkeys = 83BC8889351B5DEBBB68416EB8AC08600F108CDF
sha256sums = 20039d7b6b256c08be2f8fac43c3ff9a620308c703c643cf2f80c3910b9bd59b
sha256sums = ce5c4f1205f9729286b569b037649591555f31ca1e03cc504bd3b70b8e58a8d5
sha256sums = SKIP
sha256sums = SKIP
sha256sums = 6bca6264da6717402ec89ec5ed06b8997fe3df7a20a3a57eb5a85f64e12bc396

View File

@@ -12,7 +12,7 @@
: ${_build_level:=1}
: ${_cksum=20039d7b6b256c08be2f8fac43c3ff9a620308c703c643cf2f80c3910b9bd59b}
: ${_cksum=ce5c4f1205f9729286b569b037649591555f31ca1e03cc504bd3b70b8e58a8d5}
unset _pkgtype
[[ ${_build_vfio::1} == "t" ]] && _pkgtype+="-vfio"
@@ -24,7 +24,7 @@ unset _pkgtype
_gitname="linux"
_pkgname="$_gitname${_pkgtype:-}"
pkgbase="$_pkgname"
pkgver=6.19.11
pkgver=6.19.12
pkgrel=1
pkgdesc='Linux'
url='https://www.kernel.org'
@@ -56,17 +56,17 @@ makedepends=(
options=('!debug' '!strip')
_dl_url_arch='https://gitlab.archlinux.org/archlinux/packaging/packages/linux'
_srctag=$(
curl -sSfL --max-redirs 3 --no-progress-meter "$_dl_url_arch/-/tags?sort=updated_desc&search=${pkgver}&format=atom" \
_pkgver_tag=$(
curl -sfL --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}
: ${_pkgver_tag:=main}
_srcname=linux-$pkgver
source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar".{xz,sign}
"config-$pkgver"::"$_dl_url_arch/-/raw/$_srctag/config.x86_64"
"config-$pkgver"::"$_dl_url_arch/-/raw/$_pkgver_tag/config.x86_64"
)
sha256sums=(
"${_cksum:-SKIP}"
@@ -95,8 +95,8 @@ if [[ "${_build_arch_patch::1}" == "t" ]]; then
_dl_url_arch='https://github.com/archlinux/linux'
_srctag=$(
curl -sSfL --max-redirs 3 --no-progress-meter "$_dl_url_arch/tags.atom" \
| grep -Eom1 "v${_pkgver}\S*-arch[0-9]+" \
curl -sfL --max-redirs 3 --no-progress-meter "$_dl_url_arch/tags.atom" \
| grep -Eo "v${_pkgver}\S*-arch[0-9]+" \
| sort -rV | head -1
)
: ${_srctag:=v${pkgver}-arch1}
@@ -287,13 +287,17 @@ _package-headers() {
while read -rd '' file; do
case "$(file -Sib "$file")" in
application/x-sharedlib\;*) # Libraries (.so)
strip -v $STRIP_SHARED "$file" ;;
strip -v $STRIP_SHARED "$file"
;;
application/x-archive\;*) # Libraries (.a)
strip -v $STRIP_STATIC "$file" ;;
strip -v $STRIP_STATIC "$file"
;;
application/x-executable\;*) # Binaries
strip -v $STRIP_BINARIES "$file" ;;
strip -v $STRIP_BINARIES "$file"
;;
application/x-pie-executable\;*) # Relocatable binaries
strip -v $STRIP_SHARED "$file" ;;
strip -v $STRIP_SHARED "$file"
;;
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)