jobcore/linux-api-headers/PKGBUILD
Joe Bo Run c069375d12 upg gcc libtool linux-api-headers binutils glibc inetutils
failed to build nss ca-certificates-mozilla - removed from repository for now
2022-08-21 21:33:40 +03:00

43 lines
1.2 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=5.18.18
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
}
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=(c1c376c8dcc5c226c5f190f6eaf687495d3cf87b927d5e1a8fed9bcfa966402b # linux-5.18.18.tar.xz
b4d9712e8a75aeb718705a0794b7fe0c63be7b283333ee68e4df6fb946173cd1) # linux-5.18.18.tar.sign