# Maintainer: Jaron Kent-Dobias # Contributor: Vasily Khoruzhick # Contributor: Jan Alexander Steffens (heftig) pkgbase=linux-raspberrypi4 pkgver=6.12.9.rpi1 pkgrel=1 pkgdesc='Raspberry Pi Linux' url='https://git.kent-dobias.com/system/linux' arch=(aarch64) license=(GPL2) makedepends=( bc cpio gettext libelf pahole perl python tar xz dtc clang llvm lld ) options=('!strip') _srcname=linux-${pkgver%.*} _srctag=v${pkgver%.*}-${pkgver##*.} source=( $pkgbase::"git+file:///home/pants/dev/linux#tag=$_srctag" config # the main kernel config file ) validpgpkeys=( ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman A2FF3A36AAA56654109064AB19802F8B0D70FC30 # Jan Alexander Steffens (heftig) 0E3A444DD0760E65901BF59679E824090BD31086 # Jaron Kent-Dobias ) # https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc sha256sums=('cbbad469b1360ac9efb0224f154e46b23bb959002f1868742f2d94b463415449' '60a19a6d3c5a80ac4274e20f500ad3c95ec5013053a21a4eea55b6eecadb1e0f') b2sums=('9a581682569c5dc5c33bf535bdf12f08c6551513e10dc5b67d96d16c59ac096b89bef7c192272193437fc2c17720770048fd4f6e3d692d430415fff323023af5' '15df06dee33ff464212fe9a23776139a85e37ff83c327db7ffd0b9421236b733bc248c2acbe8a779c45f41c40694244370cf78853bab5e268f62128e6e37eddc') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" export ARCH=arm64 export LLVM=1 prepare() { cd $pkgbase echo "Setting version..." echo "-$pkgrel" > localversion.10-pkgrel echo "${pkgbase#linux}" > localversion.20-pkgname echo "Setting config..." cp ../config .config make olddefconfig diff -u ../config .config || : make -s kernelrelease > version echo "Prepared $pkgbase version $(