# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Future Linux Team pkgname=(linux linux-headers linux-docs) pkgbase=linux pkgver=6.9.1 pkgrel=1 arch=('x86_64') url="https://www.kernel.org/" license=('GPL-2.0-only') makedepends=('bc' 'cpio' 'gettext' 'libelf' 'pahole' 'perl' 'python' 'tar' 'xz' 'linux-firmware' 'dracut' 'docbook-xsl' 'xmlto' 'intel-ucode') options=('!strip') source=(https://cdn.kernel.org/pub/linux/kernel/v6.x/${pkgbase}-${pkgver}.tar.xz config-${pkgver}) sha256sums=(01b414ba98fd189ecd544435caf3860ae2a790e3ec48f5aa70fdf42dc4c5c04a 643a4871e75cb6d462f481666b8273d5cb20c3fb1b6e69a53a8a8feccf8c428c) export KBUILD_BUILD_HOST=futurelinux export KBUILD_BUILD_USER=${pkgbase} export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" prepare() { cd ${pkgbase}-${pkgver} echo "Setting version..." echo "-$pkgrel" > localversion.10-pkgrel echo "${pkgbase#linux}" > localversion.20-pkgname echo "Setting config..." cp ${srcdir}/config-${pkgver} .config make olddefconfig diff -u ${srcdir}/config-${pkgver} .config || : make -s kernelrelease > version echo "Prepared ${pkgbase} version $(