summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38f460fae4aa51a08d6759ca4ebb93b4f4714ecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: Valentín Kivachuk <vk18496@gmail.com>

_target_arch=mips
_target=mips64-linux-gnu
pkgname="${_target}-linux-api-headers"
pkgver=5.16.14
pkgrel=1
pkgdesc='Kernel headers sanitized for use in userspace (MIPS64 target, for the toolchain with GNU C library and multilib ABI)'
arch=('any')
url='https://www.kernel.org'
license=('GPL2')
makedepends=('rsync')
source=("http://www.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-${pkgver}.tar".{xz,sign})
sha256sums=('7a8ba58659d5e5f0f9e1e0a4fbed39ac520149d24d7aec4636fcf8255d0574f6'
            'SKIP')
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
              '647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman

build() {
    make -C "linux-${pkgver}" ARCH="$_target_arch" mrproper headers_check
}

package() {
    make -C "linux-${pkgver}" INSTALL_HDR_PATH="${pkgdir}/usr/${_target}/" ARCH="${_target_arch}" headers_install
}