[arch-commits] Commit in aarch64-linux-gnu-linux-api-headers/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Fri Feb 7 23:54:11 UTC 2020


    Date: Friday, February 7, 2020 @ 23:54:10
  Author: anatolik
Revision: 563782

archrelease: copy trunk to community-testing-any

Added:
  aarch64-linux-gnu-linux-api-headers/repos/community-testing-any/
  aarch64-linux-gnu-linux-api-headers/repos/community-testing-any/PKGBUILD
    (from rev 563781, aarch64-linux-gnu-linux-api-headers/trunk/PKGBUILD)

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

Copied: aarch64-linux-gnu-linux-api-headers/repos/community-testing-any/PKGBUILD (from rev 563781, aarch64-linux-gnu-linux-api-headers/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-07 23:54:10 UTC (rev 563782)
@@ -0,0 +1,36 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target_arch=arm64
+_target=aarch64-linux-gnu
+pkgname=$_target-linux-api-headers
+pkgver=5.5
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace ($_target)"
+arch=(any)
+url='https://www.kernel.org'
+license=(GPL2)
+makedepends=(rsync)
+source=(https://www.kernel.org/pub/linux/kernel/v5.x/linux-$pkgver.tar.{xz,sign})
+sha256sums=('a6fbd4ee903c128367892c2393ee0d9657b6ed3ea90016d4dc6f1f6da20b2330'
+            'SKIP')
+validpgpkeys=(
+  'ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
+  '647F28654894E3BD457199BE38DBBDC86092693E'  # Greg Kroah-Hartman
+)
+
+
+build() {
+  cd linux-$pkgver
+
+  make ARCH=$_target_arch mrproper
+  make ARCH=$_target_arch headers_check
+}
+
+package() {
+  cd linux-$pkgver
+
+  make INSTALL_HDR_PATH="$pkgdir/usr/$_target/" ARCH=$_target_arch V=0 headers_install
+
+  # clean-up unnecessary files generated during install
+  find "$pkgdir" \( -name .install -or -name ..install.cmd \) -delete
+}



More information about the arch-commits mailing list