[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun May 13 09:27:22 UTC 2018


    Date: Sunday, May 13, 2018 @ 09:27:22
  Author: felixonmars
Revision: 321579

addpkg: riscv64-linux-gnu-linux-api-headers 4.16-1

Added:
  riscv64-linux-gnu-linux-api-headers/
  riscv64-linux-gnu-linux-api-headers/repos/
  riscv64-linux-gnu-linux-api-headers/trunk/
  riscv64-linux-gnu-linux-api-headers/trunk/PKGBUILD

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

Added: riscv64-linux-gnu-linux-api-headers/trunk/PKGBUILD
===================================================================
--- riscv64-linux-gnu-linux-api-headers/trunk/PKGBUILD	                        (rev 0)
+++ riscv64-linux-gnu-linux-api-headers/trunk/PKGBUILD	2018-05-13 09:27:22 UTC (rev 321579)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target_arch=riscv
+_target=riscv64-linux-gnu
+pkgname=$_target-linux-api-headers
+pkgver=4.16
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace ($_target)"
+arch=(any)
+url='https://www.kernel.org'
+license=(GPL2)
+source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-$pkgver.tar.{xz,sign})
+sha1sums=('76b3c8a7bf9a61d6e6bf0761ac3491e6281001f7'
+          '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
+}


Property changes on: riscv64-linux-gnu-linux-api-headers/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list