From 78110d314ccbb49ed39ea7f7adbd4d7e3fe50cea Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Wed, 20 Sep 2023 14:24:53 +0200 Subject: [PATCH] 6.5.4.arch1-1 --- PKGBUILD | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 3c33386..e3a38df 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,11 +1,10 @@ # Maintainer: Jan Alexander Steffens (heftig) pkgbase=linux -pkgver=6.5.3.arch1 +pkgver=6.5.4.arch1 pkgrel=1 pkgdesc='Linux' -_srctag=v${pkgver%.*}-${pkgver##*.} -url="https://github.com/archlinux/linux/commits/$_srctag" +url='https://github.com/archlinux/linux' arch=(x86_64) license=(GPL2) makedepends=( @@ -27,43 +26,40 @@ makedepends=( texlive-latexextra ) options=('!strip') -_srcname=archlinux-linux +_srcname=linux-${pkgver%.*} +_srctag=v${pkgver%.*}-${pkgver##*.} source=( - "$_srcname::git+https://github.com/archlinux/linux?signed#tag=$_srctag" + https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/$_srcname.tar.{xz,sign} + $url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} config # the main kernel config file ) validpgpkeys=( ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman A2FF3A36AAA56654109064AB19802F8B0D70FC30 # Jan Alexander Steffens (heftig) - C7E7849466FE2358343588377258734B41C31549 # David Runge ) -b2sums=('SKIP' +b2sums=('99df210ee8f244de9059c9699648f7aad8e520030ce14e61971ba95365635e698e7c66074aa3f5c57bd75f1058e1c1dbaecea66d0b381202f239b3a04a396371' + 'SKIP' + '4213ac8402b71d5205abb18ac9a340470dba610ee5a051af20ed3ef367e2d3a44eba2ec007e950905df3e00f457f3b9eb7f44d001b78955b9c82d019d9d92d8f' + 'SKIP' '9a1770eed7e306ddd532b1df9d62c52b4f6c938d147473bed6ba92a4139654f313d7033bb6bc509f4054fa757acf33a8d73b6f36fed2a134f72d1724bf2db717') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" -_make() { - test -s version - make KERNELRELEASE="$( localversion.10-pkgrel echo "${pkgbase#linux}" > localversion.20-pkgname - make defconfig - make -s kernelrelease > version - make mrproper local src for src in "${source[@]}"; do src="${src%%::*}" src="${src##*/}" + src="${src%.zst}" [[ $src = *.patch ]] || continue echo "Applying patch $src..." patch -Np1 < "../$src" @@ -71,16 +67,17 @@ prepare() { echo "Setting config..." cp ../config .config - _make olddefconfig + make olddefconfig diff -u ../config .config || : + make -s kernelrelease > version echo "Prepared $pkgbase version $(