42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
|
|
|
|
pkgname=linux-api-headers
|
|
pkgver=5.10.134
|
|
pkgrel=01
|
|
pkgdesc='Kernel headers sanitized for use in userspace'
|
|
arch=(any)
|
|
url='https://www.gnu.org/software/libc'
|
|
makedepends=(rsync)
|
|
source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
|
|
|
|
build() {
|
|
cd linux-$pkgver
|
|
|
|
make mrproper
|
|
# make headers_check
|
|
}
|
|
|
|
package() {
|
|
cd linux-$pkgver
|
|
make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
|
|
|
|
# use headers from libdrm
|
|
rm -r "$pkgdir/usr/include/drm"
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL2)
|
|
|
|
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
|
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
|
|
|
|
sha256sums=(ec3513acdf033dd8f8ac2545cd1bb826b0669e151185e5f70408a5c9fe273269 # linux-5.10.134.tar.xz
|
|
cb4dd522165166f5147d979a8434e34a75c97655b9e9c47dbc363e521f8e606a) # linux-5.10.134.tar.sign
|