summaryrefslogtreecommitdiffstats
path: root/abs/core/linux-api-headers
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/linux-api-headers')
-rw-r--r--abs/core/linux-api-headers/PKGBUILD39
1 files changed, 19 insertions, 20 deletions
diff --git a/abs/core/linux-api-headers/PKGBUILD b/abs/core/linux-api-headers/PKGBUILD
index a1ef29c..dfda3b4 100644
--- a/abs/core/linux-api-headers/PKGBUILD
+++ b/abs/core/linux-api-headers/PKGBUILD
@@ -1,46 +1,45 @@
# $Id$
-# Maintainer: Allan McRae <allan@archlinux.org>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=linux-api-headers
-pkgver=4.9.20
-_basever=4.9
+pkgver=4.14.8
+_basever=${pkgver%.*}
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/v4.x/linux-${_basever}.tar.xz
- http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basever}.tar.sign
- http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz
- http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.sign)
-md5sums=('0a68ef3615c64bd5ee54a3320e46667d'
+pkgdesc='Kernel headers sanitized for use in userspace'
+arch=(any)
+url='http://www.gnu.org/software/libc'
+license=(GPL2)
+source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-${_basever}.tar.{xz,sign}
+ https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.{xz,sign})
+md5sums=('bacdb9ffdcd922aa069a5e1520160e24'
'SKIP'
- '1d336b33f01320e3bdbdc2d9b52aadbd'
+ 'e4a4d2abd61516d4eaf4789ca5e113ff'
'SKIP')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
prepare() {
- cd ${srcdir}/linux-${_basever}
- [[ $pkgver != $_basever ]] && patch -p1 -i ${srcdir}/patch-${pkgver} || true
+ cd linux-${_basever}
+ [[ $pkgver != $_basever ]] && patch -p1 -i "$srcdir/patch-$pkgver"
}
build() {
- cd ${srcdir}/linux-${_basever}
+ cd linux-${_basever}
make mrproper
make headers_check
}
package() {
- cd ${srcdir}/linux-${_basever}
- make INSTALL_HDR_PATH=${pkgdir}/usr headers_install
+ cd linux-${_basever}
+ make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
# use headers from libdrm
- rm -r ${pkgdir}/usr/include/drm
+ rm -r "$pkgdir/usr/include/drm"
# clean-up unnecessary files generated during install
- find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete
+ find "$pkgdir" \( -name .install -o -name ..install.cmd \) -delete
}