summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b089c417f96ac94bb8397bcdc6f6d8fe3ee3b26c (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-i386
pkgver=4.19.88
pkgrel=1
pkgdesc="Linux kernel headers sanitized for use with musl libc (i386)"
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=i386 prefix=/usr/lib/i386-musl
}

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