pkgname=linux-api-headers pkgver=6.12.8 pkgrel=1 pkgdesc="Kernel headers sanitized for use in userspace" arch=('x86_64') url="https://www.gnu.org/software/libc" license=('GPL-2.0-only') makedepends=('rsync') source=(https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${pkgver}.tar.xz) sha256sums=(2291da065ca04b715c89ee50362aec3f021a7414bc963f1b56736682c8122979) build() { cd linux-${pkgver} make mrproper } package() { cd linux-${pkgver} make INSTALL_HDR_PATH=${pkgdir}/usr headers_install }