summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-14 18:49:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-14 18:49:13 (GMT)
commit4decc63d62e70954273cb26b7c660850b3fdf5b7 (patch)
treec74d13f951698f8472257825a943ca7a1871e640
parent0fb15b353cefffe0ab0b66ccc58474deb59642bf (diff)
downloadlinhes_pkgbuild-4decc63d62e70954273cb26b7c660850b3fdf5b7.zip
linhes_pkgbuild-4decc63d62e70954273cb26b7c660850b3fdf5b7.tar.gz
linhes_pkgbuild-4decc63d62e70954273cb26b7c660850b3fdf5b7.tar.bz2
linux-api-headers: update to 4.14.8
-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
}