[arch-commits] Commit in linux-api-headers/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Apr 10 19:40:29 UTC 2018
Date: Tuesday, April 10, 2018 @ 19:40:28
Author: bpiotrowski
Revision: 321501
4.16.1-1
Modified:
linux-api-headers/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-10 19:39:57 UTC (rev 321500)
+++ PKGBUILD 2018-04-10 19:40:28 UTC (rev 321501)
@@ -5,29 +5,28 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=linux-api-headers
-pkgver=4.14.8
-_basever=${pkgver%.*}
+pkgver=4.16.1
pkgrel=1
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}
+source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver%.*}.tar.{xz,sign}
https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.{xz,sign})
-md5sums=('bacdb9ffdcd922aa069a5e1520160e24'
+md5sums=('1357fb4ee7c288fdeac5d4e0048f5c18'
'SKIP'
- 'e4a4d2abd61516d4eaf4789ca5e113ff'
+ 'bade764e616e8283b6a620f268337651'
'SKIP')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
prepare() {
- cd linux-${_basever}
- [[ $pkgver != $_basever ]] && patch -p1 -i "$srcdir/patch-$pkgver"
+ cd linux-${pkgver%.*}
+ patch -p1 -i "$srcdir/patch-$pkgver"
}
build() {
- cd linux-${_basever}
+ cd linux-${pkgver%.*}
make mrproper
make headers_check
@@ -34,7 +33,7 @@
}
package() {
- cd linux-${_basever}
+ cd linux-${pkgver%.*}
make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
# use headers from libdrm
More information about the arch-commits
mailing list