45 lines
1.4 KiB
Bash
45 lines
1.4 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->glibc->binutils->gcc
|
|
|
|
pkgname=linux-api-headers
|
|
pkgver=6.6
|
|
pkgrel=03
|
|
pkgdesc='Kernel headers sanitized for use in userspace - we have chosen lts based 6.6 instead of 6.7'
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd linux-$pkgver
|
|
make INSTALL_HDR_PATH="$pkgdir/usr" headers_install
|
|
|
|
# use headers from libdrm
|
|
rm -r "$pkgdir/usr/include/drm"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL-2.0-only)
|
|
|
|
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
|
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
|
|
|
|
sha256sums=(d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0 # linux-6.6.tar.xz
|
|
32f983c7c392f9452bbb41e00f8b6910b66f52acd84d7dd0dca38edb41633129) # linux-6.6.tar.sign
|
|
|
|
## bbf2622dee6942798f0de1ab0a44cc4f0b03bfb16dffc2323cdc94a5e553f84f linux-api-headers-6.6-03-x86_64.pkg.tar.lz
|
|
|