34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
|
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
|
|
|
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
|
|
|
pkgname=linux-api-headers
|
|
pkgver=6.10
|
|
pkgrel=1
|
|
pkgdesc='Kernel headers sanitized for use in userspace'
|
|
arch=('x86_64')
|
|
url='https://www.gnu.org/software/libc'
|
|
license=(GPL-2.0-only)
|
|
makedepends=(rsync)
|
|
source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
|
|
sha256sums=('774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226'
|
|
'SKIP')
|
|
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
|
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
|
|
|
|
build() {
|
|
cd linux-$pkgver
|
|
|
|
make mrproper
|
|
}
|
|
|
|
package() {
|
|
cd linux-$pkgver
|
|
make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
|
|
|
|
# use headers from libdrm
|
|
rm -r "$pkgdir/usr/include/drm"
|
|
}
|