[arch-commits] Commit in linux-api-headers/repos (testing-any testing-any/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu May 23 11:04:37 UTC 2019
Date: Thursday, May 23, 2019 @ 11:04:37
Author: bpiotrowski
Revision: 353914
archrelease: copy trunk to testing-any
Added:
linux-api-headers/repos/testing-any/
linux-api-headers/repos/testing-any/PKGBUILD
(from rev 353913, linux-api-headers/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: linux-api-headers/repos/testing-any/PKGBUILD (from rev 353913, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2019-05-23 11:04:37 UTC (rev 353914)
@@ -0,0 +1,35 @@
+# 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.1
+pkgrel=1
+pkgdesc='Kernel headers sanitized for use in userspace'
+arch=(any)
+url='http://www.gnu.org/software/libc'
+license=(GPL2)
+source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
+md5sums=('15fbdff95ff98483069ac6e215b9f4f9'
+ '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"
+
+ # clean-up unnecessary files generated during install
+ find "$pkgdir" \( -name .install -o -name ..install.cmd \) -delete
+}
More information about the arch-commits
mailing list