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

Giancarlo Razzolini grazzolini at archlinux.org
Wed May 12 19:49:44 UTC 2021


    Date: Wednesday, May 12, 2021 @ 19:49:44
  Author: grazzolini
Revision: 415083

archrelease: copy trunk to staging-any

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

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

Copied: linux-api-headers/repos/staging-any/PKGBUILD (from rev 415082, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-12 19:49:44 UTC (rev 415083)
@@ -0,0 +1,33 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=linux-api-headers
+pkgver=5.12.3
+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=('133714a87a8b0ed1959587a8a5aff9faf47dd0fc8feeac08cca408f7e392878d'
+            '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