name: linux version: 5.2.4 release: 1 sources: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-%{version}.tar.xz @build true @install mkdir -p '%{pkg}/usr' cd 'linux-%{version}' && make headers_%{name} ARCH=x86_64 INSTALL_HDR_PATH='%{pkg}/usr'