summaryrefslogtreecommitdiff
path: root/devel/linux-headers/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /devel/linux-headers/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'devel/linux-headers/MAKEPKG')
-rw-r--r--devel/linux-headers/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/linux-headers/MAKEPKG b/devel/linux-headers/MAKEPKG
new file mode 100644
index 0000000..66c5415
--- /dev/null
+++ b/devel/linux-headers/MAKEPKG
@@ -0,0 +1,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