summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 955a462776902343ceb078dda15c5da6988d4986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Gaƫl PORTAY <gael.portay@rtone.fr>

pkgname=kernel-headers-musl-armhf
pkgver=4.19.88
pkgrel=1
pkgdesc="Linux kernel headers sanitized for use with musl libc (armhf)"
arch=('x86_64')
url="https://github.com/sabotage-linux/kernel-headers"
license=('LGPL')
depends=('musl')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sabotage-linux/kernel-headers/archive/v${pkgver/_/-}.tar.gz")
sha512sums=('db0239c40399c89cc250b9f1f53b7ec4eb119fde6b25c503aef7e88b80694df3a5e89196a22e66376731764bac83d9120794ee6c601a95b824f1ab770cb45a61')

build() {
  cd "$srcdir"/kernel-headers-${pkgver/_/-}
  make ARCH=arm prefix=/usr/lib/armhf-musl
}

package() {
  cd "$srcdir"/kernel-headers-${pkgver/_/-}
  make ARCH=arm prefix=/usr/lib/armhf-musl DESTDIR="$pkgdir" install
}