[arch-commits] Commit in kernel-headers-musl/repos (4 files)

Sergej Pupykin spupykin at archlinux.org
Thu Feb 26 18:39:46 UTC 2015


    Date: Thursday, February 26, 2015 @ 19:39:46
  Author: spupykin
Revision: 128309

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

Added:
  kernel-headers-musl/repos/community-i686/
  kernel-headers-musl/repos/community-i686/PKGBUILD
    (from rev 128308, kernel-headers-musl/trunk/PKGBUILD)
  kernel-headers-musl/repos/community-x86_64/
  kernel-headers-musl/repos/community-x86_64/PKGBUILD
    (from rev 128308, kernel-headers-musl/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   26 ++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   26 ++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

Copied: kernel-headers-musl/repos/community-i686/PKGBUILD (from rev 128308, kernel-headers-musl/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-26 18:39:46 UTC (rev 128309)
@@ -0,0 +1,26 @@
+# Maintainer: Jens Staal <staal1978 at gmail.com>
+
+pkgname=kernel-headers-musl
+pkgver=3.12.6_5
+pkgrel=1
+pkgdesc="Linux kernel headers sanitized for use with musl libc"
+arch=('i686' 'x86_64')
+url="https://github.com/sabotage-linux/kernel-headers"
+license=('LGPL')
+depends=('musl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sabotage-linux/kernel-headers/archive/v${pkgver/_/-}.tar.gz")
+md5sums=('2fe2d8053716759e42f182fbc75424e8')
+
+build() {
+  cd $srcdir/kernel-headers-${pkgver/_/-}
+  _CARCH=$CARCH
+  [ $CARCH == "i686" ] && _CARCH=x86
+  make ARCH=${_CARCH} prefix=/usr/lib/musl
+}
+
+package() {
+  cd $srcdir/kernel-headers-${pkgver/_/-}
+  _CARCH=$CARCH
+  [ $CARCH == "i686" ] && _CARCH=x86
+  make ARCH=${_CARCH} prefix=/usr/lib/musl DESTDIR=$pkgdir install
+}

Copied: kernel-headers-musl/repos/community-x86_64/PKGBUILD (from rev 128308, kernel-headers-musl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-26 18:39:46 UTC (rev 128309)
@@ -0,0 +1,26 @@
+# Maintainer: Jens Staal <staal1978 at gmail.com>
+
+pkgname=kernel-headers-musl
+pkgver=3.12.6_5
+pkgrel=1
+pkgdesc="Linux kernel headers sanitized for use with musl libc"
+arch=('i686' 'x86_64')
+url="https://github.com/sabotage-linux/kernel-headers"
+license=('LGPL')
+depends=('musl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sabotage-linux/kernel-headers/archive/v${pkgver/_/-}.tar.gz")
+md5sums=('2fe2d8053716759e42f182fbc75424e8')
+
+build() {
+  cd $srcdir/kernel-headers-${pkgver/_/-}
+  _CARCH=$CARCH
+  [ $CARCH == "i686" ] && _CARCH=x86
+  make ARCH=${_CARCH} prefix=/usr/lib/musl
+}
+
+package() {
+  cd $srcdir/kernel-headers-${pkgver/_/-}
+  _CARCH=$CARCH
+  [ $CARCH == "i686" ] && _CARCH=x86
+  make ARCH=${_CARCH} prefix=/usr/lib/musl DESTDIR=$pkgdir install
+}



More information about the arch-commits mailing list