pkgname=linux-headers
pkgver=6.1.11
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("linux-$pkgver.tar.xz")
prepare() {
cd "linux-$pkgver"
make mrproper
}
build() {
cd "linux-$pkgver"
make headers
}
package() {
cd "linux-$pkgver"
find usr/include -type f ! -name '*.h' -delete
mkdir -p $pkgdir/usr
cp -rv usr/include $pkgdir/usr
}
sha256sums=('581b0560077863c5116512c0b5fd93b97814092c80e6ebebabe88101949af7a1')