1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 # Maintainer: Frederik Schwan <freswa at archlinux dot org>
3 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
4 # Contributor: Allan McRae <allan@archlinux.org>
6 # toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
8 pkgname=linux-api-headers
11 pkgdesc='Kernel headers sanitized for use in userspace'
13 url='https://www.gnu.org/software/libc'
16 source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
17 sha256sums=('ba3491f5ed6bd270a370c440434e3d69085fcdd528922fa01e73d7657db73b1e'
19 validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
20 '647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
30 make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
32 # use headers from libdrm
33 rm -r "$pkgdir/usr/include/drm"