community/kernel-headers-musl to 3.12.6_5-2

This commit is contained in:
Kevin Mihelich 2018-06-04 13:43:13 +00:00
parent de7059d965
commit d896d62124

View file

@ -5,17 +5,17 @@
pkgname=kernel-headers-musl
pkgver=3.12.6_5
pkgrel=1.1
pkgrel=2
pkgdesc="Linux kernel headers sanitized for use with musl libc"
arch=('i686' 'x86_64')
arch=('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')
sha512sums=('e76f9b0789f2a2e174f7d2a0bec5d79b10fa7486a202fd29ffbae67657c6b89b947b667e2f2edfac8767b3e8491697b58d92035a8e632717f3f0a79a17bccc60')
build() {
cd $srcdir/kernel-headers-${pkgver/_/-}
cd "$srcdir"/kernel-headers-${pkgver/_/-}
_CARCH=$CARCH
[ $CARCH == "i686" ] && _CARCH=x86
[ $CARCH == "armv7h" -o $CARCH == "armv6h" ] && _CARCH=arm
@ -23,9 +23,9 @@ build() {
}
package() {
cd $srcdir/kernel-headers-${pkgver/_/-}
cd "$srcdir"/kernel-headers-${pkgver/_/-}
_CARCH=$CARCH
[ $CARCH == "i686" ] && _CARCH=x86
[ $CARCH == "armv7h" -o $CARCH == "armv6h" ] && _CARCH=arm
make ARCH=${_CARCH} prefix=/usr/lib/musl DESTDIR=$pkgdir install
make ARCH=${_CARCH} prefix=/usr/lib/musl DESTDIR="$pkgdir" install
}