Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpkg: x86_64-linux-gnu-linux-api-headers 6.12-1 #4343

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions x86_64-linux-gnu-linux-api-headers/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Contributor: Levi Zim <rsworktech@outlook.com>
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>

_target_arch=x86_64
_target=x86_64-linux-gnu
pkgname=$_target-linux-api-headers
pkgver=6.12
pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace ($_target)"
arch=(any)
url='https://www.kernel.org'
license=(GPL2)
makedepends=(rsync)
source=(https://www.kernel.org/pub/linux/kernel/v6.x/linux-$pkgver.tar.{xz,sign})
sha256sums=('b1a2562be56e42afb3f8489d4c2a7ac472ac23098f1ef1c1e40da601f54625eb'
'SKIP')
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
)


package() {
cd linux-$pkgver

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
}
Loading