blob: 7377f951fc473ddbc10e0819771718fdc38b425e (
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
27
28
29
30
31
32
|
# Maintainer (arch): Anatol Pomozov <anatol.pomozov@gmail.com>
# Maintainer: David P. <megver83@parabola.nu>
_target_arch=arm64
_target=aarch64-linux-gnu
pkgname=$_target-linux-libre-api-headers
_pkgver=5.18-gnu
_srcver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace ($_target)"
arch=(any)
url='https://linux-libre.fsfla.org'
license=(GPL2)
provides=("$_target-linux-api-headers=${_srcver}")
conflicts=("$_target-linux-api-headers")
replaces=("$_target-linux-api-headers")
makedepends=(rsync)
source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz"{,.sign})
sha512sums=('13be3762fffd74c63eeb23b0d34b994a3e5198bfdbda4f013b38f8d3edd24b9bbebe5a4bfde0f5191aa1cf2678e4517f3b5540a40b30ebc05da1f6708cbb98bb'
'SKIP')
validpgpkeys=('474402C8C582DAFBE389C427BCB7CF877E7D47A7') # Alexandre Oliva
package() {
cd linux-$_srcver
make INSTALL_HDR_PATH="$pkgdir/usr/$_target/" ARCH=$_target_arch V=0 headers_install
# clean-up unnecessary files generated during install
find "$pkgdir" \( -name .install -or -name ..install.cmd \) -delete
}
|