summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt2018-07-23 18:55:00 +0200
committerStefan Schmidt2018-07-23 18:55:00 +0200
commitabe52e0ca9eda1c9a548a084cfd322f634ef12d6 (patch)
tree8e424106f6b85cdf7d139ff9960fb36c50ec0dc0
parent97dcc87da2aed293f9b5d430187207e5668461d6 (diff)
downloadaur-abe52e0ca9eda1c9a548a084cfd322f634ef12d6.tar.gz
Updated to v4.16.1
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD41
2 files changed, 25 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 552d8977cf6..7af5e948d47 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,19 @@
pkgbase = powerpc-linux-gnu-linux-api-headers
pkgdesc = Kernel headers sanitized for use in userspace (powerpc-linux-gnu)
- pkgver = 4.5.5
+ pkgver = 4.16.1
pkgrel = 1
url = http://www.gnu.org/software/libc
arch = any
license = GPL2
- source = http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.5.tar.xz
- source = http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.5.tar.sign
- source = http://www.kernel.org/pub/linux/kernel/v4.x/patch-4.5.5.xz
- source = http://www.kernel.org/pub/linux/kernel/v4.x/patch-4.5.5.sign
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.tar.xz
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.tar.sign
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.16.1.xz
+ source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.16.1.sign
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
- md5sums = a60d48eee08ec0536d5efb17ca819aef
+ md5sums = 1357fb4ee7c288fdeac5d4e0048f5c18
md5sums = SKIP
- md5sums = fe89010925304f6f07713741f0c8e811
+ md5sums = bade764e616e8283b6a620f268337651
md5sums = SKIP
pkgname = powerpc-linux-gnu-linux-api-headers
diff --git a/PKGBUILD b/PKGBUILD
index 19c8ceb9d85..dafb174403a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,51 +1,46 @@
-# Maintainer: Stefan Schmidt <thrimbor.github@gmail.com>
-# Previous Maintainer: camb <cyrilbur@gmail.com>
# Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
# Contributor: toha257 <toha257@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Tavian Barnes <tavianator@tavianator.com>
-# This PKGBUILD was heavily inspired from the
-# arm-linux-gnueabihf-linux-api-headers PKGBUILD
+# Maintainer: Stefan Schmidt <thrimbor.github@gmail.com>
_target_arch=powerpc
_target=${_target_arch}-linux-gnu
pkgname=${_target}-linux-api-headers
-_basever=4.5
-pkgver=${_basever}.5
+pkgver=4.16.1
pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace (${_target})"
-arch=('any')
-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=('a60d48eee08ec0536d5efb17ca819aef'
+arch=(any)
+url='http://www.gnu.org/software/libc'
+license=(GPL2)
+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=('1357fb4ee7c288fdeac5d4e0048f5c18'
'SKIP'
- 'fe89010925304f6f07713741f0c8e811'
+ 'bade764e616e8283b6a620f268337651'
'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-${pkgver%.*}
+ patch -p1 -i "$srcdir/patch-$pkgver"
}
build() {
- cd ${srcdir}/linux-${_basever}
+ cd linux-${pkgver%.*}
- make ARCH=${_target_arch} mrproper
- make ARCH=${_target_arch} headers_check
+ make ARCH=$_target_arch mrproper
+ make ARCH=$_target_arch headers_check
}
package() {
- cd ${srcdir}/linux-${_basever}
- make INSTALL_HDR_PATH=${pkgdir}/usr/${_target} ARCH=${_target_arch} headers_install
+ cd linux-${pkgver%.*}
+ make INSTALL_HDR_PATH="$pkgdir/usr/$_target" ARCH=$_target_arch headers_install
# use headers from libdrm
- rm -rf ${pkgdir}/usr/${_target}/include/drm
+ rm -rf "$pkgdir/usr/$_target/include/drm"
# clean-up unnecessary files generated during install
find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete