linux kernel and headers package rewrite
This commit is contained in:
1 parent
11f3f992c8
commit
6696c15390
2 files changed
+33
-8
No files matched your search
@@ -1,24 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
name='linux-headers'
|
||||
release='1'
|
||||
version='6.0.9'
|
||||
version='6.1.4'
|
||||
url='https://cdn.kernel.org/pub/linux/kernel/'
|
||||
description='Linux kernel headers'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$version.tar.xz")
|
||||
license=('GPLv2')
|
||||
source=()
|
||||
depends=( )
|
||||
makedepends=( )
|
||||
makedepends=(mklinux)
|
||||
md5sums=('3de364bdbacd2115950cc3dd94157ab6')
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
group=(sys.kernel)
|
||||
|
||||
cd linux-$version
|
||||
|
||||
package(){
|
||||
make headers_install INSTALL_HDR_PATH="${DESTDIR}/usr"
|
||||
|
||||
# install headers (archlinux kerhel config used)
|
||||
ALLOWROOT=1 mklinux -f -o $DESTDIR -v $version -y 1 --no-build \
|
||||
-c "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/linux/trunk/config"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user