# Maintainer: Jaron Kent-Dobias # Contributor: Vasily Khoruzhick # Contributor: Jan Alexander Steffens (heftig) pkgbase=linux-raspberrypi4 pkgver=6.12.1.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=('4dc5cc694d61610e7dd6bc2bf4ff26402c9da4c434e24ce46d9f0e4a98b5ba34' '11cc1ae500bba04094c8296fca0492753a3a02bf0cefab398cb84e0b1ba55407') b2sums=('1e56070c67e9c865b886d42599edce2db442296df6e3c64b97ca9d7a905617d4c8e289c736dfbb389ae34f1c4dfca114edf9ddec80f5361f7217fb87e33b66e2' '4dcbefdb87616bdcd1de8a572b919537881d85ce78ffa2270eb1897d51b509e79ff7d1e959f304b637fc4de3b628cefa6fdc1864984e3a37ee592537eda3462a') 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 $(