[arch-commits] Commit in linux-api-headers/repos (4 files)
Allan McRae
allan at archlinux.org
Sat Dec 27 02:47:25 UTC 2014
Date: Saturday, December 27, 2014 @ 03:47:24
Author: allan
Revision: 228064
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
linux-api-headers/repos/staging-i686/
linux-api-headers/repos/staging-i686/PKGBUILD
(from rev 228063, linux-api-headers/trunk/PKGBUILD)
linux-api-headers/repos/staging-x86_64/
linux-api-headers/repos/staging-x86_64/PKGBUILD
(from rev 228063, linux-api-headers/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: linux-api-headers/repos/staging-i686/PKGBUILD (from rev 228063, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2014-12-27 02:47:24 UTC (rev 228064)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=linux-api-headers
+pkgver=3.18.1
+_basever=3.18
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libc"
+license=('GPL2')
+source=(http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.xz
+ http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.sign
+ http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz
+ http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign)
+md5sums=('9e854df51ca3fef8bfe566dbd7b89241'
+ 'SKIP'
+ '82864000fde42252dd5e80cceb971479'
+ 'SKIP')
+validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
+ '647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
+
+prepare() {
+ cd ${srcdir}/linux-${_basever}
+ [[ $pkgver != $_basever ]] && patch -p1 -i ${srcdir}/patch-${pkgver}
+}
+
+build() {
+ cd ${srcdir}/linux-${_basever}
+
+ make mrproper
+ make headers_check
+}
+
+package() {
+ cd ${srcdir}/linux-${_basever}
+ 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
+}
Copied: linux-api-headers/repos/staging-x86_64/PKGBUILD (from rev 228063, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-12-27 02:47:24 UTC (rev 228064)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=linux-api-headers
+pkgver=3.18.1
+_basever=3.18
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libc"
+license=('GPL2')
+source=(http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.xz
+ http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.sign
+ http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz
+ http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign)
+md5sums=('9e854df51ca3fef8bfe566dbd7b89241'
+ 'SKIP'
+ '82864000fde42252dd5e80cceb971479'
+ 'SKIP')
+validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
+ '647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
+
+prepare() {
+ cd ${srcdir}/linux-${_basever}
+ [[ $pkgver != $_basever ]] && patch -p1 -i ${srcdir}/patch-${pkgver}
+}
+
+build() {
+ cd ${srcdir}/linux-${_basever}
+
+ make mrproper
+ make headers_check
+}
+
+package() {
+ cd ${srcdir}/linux-${_basever}
+ 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