[arch-commits] Commit in linux-api-headers/repos (4 files)

Allan McRae allan at archlinux.org
Sat Mar 24 04:45:35 EDT 2012


    Date: Saturday, March 24, 2012 @ 04:45:35
  Author: allan
Revision: 154188

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  linux-api-headers/repos/testing-i686/
  linux-api-headers/repos/testing-i686/PKGBUILD
    (from rev 154187, linux-api-headers/trunk/PKGBUILD)
  linux-api-headers/repos/testing-x86_64/
  linux-api-headers/repos/testing-x86_64/PKGBUILD
    (from rev 154187, linux-api-headers/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: linux-api-headers/repos/testing-i686/PKGBUILD (from rev 154187, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-24 08:45:35 UTC (rev 154188)
@@ -0,0 +1,41 @@
+# $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.3
+_basever=3.3
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libc"
+license=('GPL2')
+provides=("kernel-headers=${pkgver}")
+conflicts=('kernel-headers')
+replaces=('kernel-headers')
+source=(http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.xz)
+	#http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz)
+# NOTE: signatures are not automatically verified by makepkg
+        #http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.sign
+	#http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign
+md5sums=('7133f5a2086a7d7ef97abac610c094f5')
+
+build() {
+  cd ${srcdir}/linux-${_basever}
+  [[ $pkgver != $_basever ]] && patch -Np1 -i ${srcdir}/patch-${pkgver}
+
+  make mrproper
+  make headers_check
+}
+
+package() {
+  cd ${srcdir}/linux-${_basever}
+  make INSTALL_HDR_PATH=${pkgdir}/usr headers_install
+
+  # use headers from libdrm
+  rm -rf ${pkgdir}/usr/include/drm
+  
+  # clean-up unnecessary files generated during install
+  find ${pkgdir} -name .install -or -name ..install.cmd -print0 | xargs -0 rm -f
+}

Copied: linux-api-headers/repos/testing-x86_64/PKGBUILD (from rev 154187, linux-api-headers/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-03-24 08:45:35 UTC (rev 154188)
@@ -0,0 +1,41 @@
+# $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.3
+_basever=3.3
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/libc"
+license=('GPL2')
+provides=("kernel-headers=${pkgver}")
+conflicts=('kernel-headers')
+replaces=('kernel-headers')
+source=(http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.xz)
+	#http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz)
+# NOTE: signatures are not automatically verified by makepkg
+        #http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.sign
+	#http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign
+md5sums=('7133f5a2086a7d7ef97abac610c094f5')
+
+build() {
+  cd ${srcdir}/linux-${_basever}
+  [[ $pkgver != $_basever ]] && patch -Np1 -i ${srcdir}/patch-${pkgver}
+
+  make mrproper
+  make headers_check
+}
+
+package() {
+  cd ${srcdir}/linux-${_basever}
+  make INSTALL_HDR_PATH=${pkgdir}/usr headers_install
+
+  # use headers from libdrm
+  rm -rf ${pkgdir}/usr/include/drm
+  
+  # clean-up unnecessary files generated during install
+  find ${pkgdir} -name .install -or -name ..install.cmd -print0 | xargs -0 rm -f
+}



More information about the arch-commits mailing list