[arch-commits] Commit in linux-api-headers/repos (staging-any staging-any/PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Wed Feb 9 16:21:48 UTC 2022


    Date: Wednesday, February 9, 2022 @ 16:21:48
  Author: freswa
Revision: 436732

archrelease: copy trunk to staging-any

Added:
  linux-api-headers/repos/staging-any/
  linux-api-headers/repos/staging-any/PKGBUILD
    (from rev 436731, linux-api-headers/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: linux-api-headers/repos/staging-any/PKGBUILD (from rev 436731, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-02-09 16:21:48 UTC (rev 436732)
@@ -0,0 +1,35 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
+
+pkgname=linux-api-headers
+pkgver=5.16.8
+pkgrel=1
+pkgdesc='Kernel headers sanitized for use in userspace'
+arch=(any)
+url='https://www.gnu.org/software/libc'
+license=(GPL2)
+makedepends=(rsync)
+source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
+sha256sums=('52aa5f05ee8addcc1ec0020f50e5f88ea1a308c2afac4a2305e1e4cf42580316'
+            'SKIP')
+validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886'   # Linus Torvalds
+              '647F28654894E3BD457199BE38DBBDC86092693E')  # Greg Kroah-Hartman
+
+build() {
+  cd linux-$pkgver
+
+  make mrproper
+  make headers_check
+}
+
+package() {
+  cd linux-$pkgver
+  make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
+
+  # use headers from libdrm
+  rm -r "$pkgdir/usr/include/drm"
+}



More information about the arch-commits mailing list