summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD18
2 files changed, 9 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7af5e948d47..57207ce69c2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,15 @@
pkgbase = powerpc-linux-gnu-linux-api-headers
pkgdesc = Kernel headers sanitized for use in userspace (powerpc-linux-gnu)
- pkgver = 4.16.1
+ pkgver = 5.1
pkgrel = 1
url = http://www.gnu.org/software/libc
arch = any
license = GPL2
- 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
+ source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.xz
+ source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.sign
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
- md5sums = 1357fb4ee7c288fdeac5d4e0048f5c18
- md5sums = SKIP
- md5sums = bade764e616e8283b6a620f268337651
+ md5sums = 15fbdff95ff98483069ac6e215b9f4f9
md5sums = SKIP
pkgname = powerpc-linux-gnu-linux-api-headers
diff --git a/PKGBUILD b/PKGBUILD
index dafb174403a..f7099f93bf7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,35 +8,27 @@
_target_arch=powerpc
_target=${_target_arch}-linux-gnu
pkgname=${_target}-linux-api-headers
-pkgver=4.16.1
+pkgver=5.1
pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace (${_target})"
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'
- 'bade764e616e8283b6a620f268337651'
+source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
+md5sums=('15fbdff95ff98483069ac6e215b9f4f9'
'SKIP')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
-prepare() {
- cd linux-${pkgver%.*}
- patch -p1 -i "$srcdir/patch-$pkgver"
-}
-
build() {
- cd linux-${pkgver%.*}
+ cd linux-$pkgver
make ARCH=$_target_arch mrproper
make ARCH=$_target_arch headers_check
}
package() {
- cd linux-${pkgver%.*}
+ cd linux-${pkgver}
make INSTALL_HDR_PATH="$pkgdir/usr/$_target" ARCH=$_target_arch headers_install
# use headers from libdrm