summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/linux-libre-api-headers/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/libre/linux-libre-api-headers/PKGBUILD b/libre/linux-libre-api-headers/PKGBUILD
index 95a9574c8..add637d2a 100644
--- a/libre/linux-libre-api-headers/PKGBUILD
+++ b/libre/linux-libre-api-headers/PKGBUILD
@@ -12,9 +12,9 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=linux-libre-api-headers
-pkgver=4.15.2_gnu
+pkgver=4.16.1_gnu
_basever=${pkgver%.*_gnu}
-pkgrel=1.2
+pkgrel=1
pkgdesc='Kernel headers sanitized for use in userspace'
arch=(x86_64 i686 armv7h)
url='http://www.gnu.org/software/libc'
@@ -24,26 +24,26 @@ conflicts=('linux-api-headers')
replaces=('linux-api-headers')
source=(https://linux-libre.fsfla.org/pub/linux-libre/releases/${_basever}-gnu/linux-libre-${_basever}-gnu.tar.xz{,.sign}
https://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver//_/-}/patch-${_basever}-gnu-${pkgver//_/-}.xz{,.sign})
-sha256sums=('e6556514286f9cd6b46f5d5769b2cc3c61ac7d6fa9c9c400e3c2fb5949490186'
+sha256sums=('5bd4ee95a0a9d7d2f962504f4b684b441b07f5a136e8bb8ad959f2d29ab9b913'
'SKIP'
- '81ec59f4d123f7b8bb358c765b4cae32979c6859816641f4830e6c87dc974875'
+ '984dc455b9569a77f33512ae3e6f9598361031e83b72d8f6a979a9872caefba5'
'SKIP')
validpgpkeys=('474402C8C582DAFBE389C427BCB7CF877E7D47A7') # Alexandre Oliva
prepare() {
- cd linux-${_basever}
- [[ ${pkgver%_gnu} != $_basever ]] && patch -p1 -i "$srcdir/patch-${_basever}-gnu-${pkgver//_/-}"
+ cd linux-${pkgver%.*}
+ patch -p1 -i "$srcdir/patch-${_basever}-gnu-${pkgver//_/-}"
}
build() {
- cd linux-${_basever}
+ cd linux-${pkgver%.*}
make mrproper
make headers_check
}
package() {
- cd linux-${_basever}
+ cd linux-${pkgver%.*}
make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
# use headers from libdrm