blob: 66c541537846d5f3d169f5b08121fcf738f90bc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/mkpkg
# description: Linux kernel headers
# url: https://www.kernel.org/
name=linux-headers
version=6.18.45
release=1
source=(https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$version.tar.xz)
sha256sums=(
"30fa4a56579ca614ac125a12614f7f6466f87ab1278aef7b951dd74156deab33"
)
build() {
cd linux-$version
make LLVM=1 mrproper
make LLVM=1 headers
mkdir -p $PKG/include
cp -a usr/include/* $PKG/include/
# Remove unneeded files
find $PKG/include -name '.*' -delete
rm -f $PKG/include/Makefile
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|