db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / linux-api-headers / trunk / PKGBUILD
blobca5c34af6be615d9ae4bcb2c8967b7d637978351
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
9 pkgver=6.3
10 pkgrel=1
11 pkgdesc='Kernel headers sanitized for use in userspace'
12 arch=(any)
13 url='https://www.gnu.org/software/libc'
14 license=(GPL2)
15 makedepends=(rsync)
16 source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
17 sha256sums=('ba3491f5ed6bd270a370c440434e3d69085fcdd528922fa01e73d7657db73b1e'
18             'SKIP')
19 validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886'   # Linus Torvalds
20               '647F28654894E3BD457199BE38DBBDC86092693E')  # Greg Kroah-Hartman
22 build() {
23   cd linux-$pkgver
25   make mrproper
28 package() {
29   cd linux-$pkgver
30   make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
32   # use headers from libdrm
33   rm -r "$pkgdir/usr/include/drm"