From ef390ba743cfe865504db4e007bd9dcef714c407 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 17 Nov 2023 14:00:13 +0100 Subject: Added support for my laptop. --- PKGBUILD | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 535783f..76263a2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,9 +4,8 @@ pkgbase=linux-kentdobias _kver=6.5.11 _zver=2.2.0 pkgver="${_kver}_${_zver}" -pkgrel=1 +pkgrel=3 pkgdesc='Linux' -_srctag=v${_kver} url='https://github.com/archlinux/linux' arch=(x86_64) license=(GPL2) @@ -33,11 +32,11 @@ makedepends=( lld ) options=('!strip') -_srcname=kentdobias-linux +_srcname=linux-${_kver} +_srctag=v${_kver%.*}-${_kver##*.} source=( - "$_srcname::git+https://git.kent-dobias.com/system/linux?signed#tag=$_srctag" - "https://github.com/openzfs/zfs/releases/download/zfs-${_zver}/zfs-${_zver}.tar.gz" - config # the main kernel config file + https://cdn.kernel.org/pub/linux/kernel/v${_kver%%.*}.x/${_srcname}.tar.{xz,sign} + config # the main kernel config file ) validpgpkeys=( ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds @@ -45,9 +44,13 @@ validpgpkeys=( A2FF3A36AAA56654109064AB19802F8B0D70FC30 # Jan Alexander Steffens (heftig) 0E3A444DD0760E65901BF59679E824090BD31086 # Jaron Kent-Dobias ) -sha256sums=('SKIP' - '42035fd059faa25a09cd511b24a57b8ad1285cb69127f2a0043b98562c5ec690' - '0baa4321ff0d6b2cedb101b8b82d6f5ebea17af70441ddf2b790f7baa23541b3') +# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256sums=('2ee24af9282b80923b2da56b70aad7df2e8ee4e3f076452e05ba66be2059b519' + 'SKIP' + '13d39a5095e090486ee97cffec0dd06bb68298a24a6a5b6bfa3a37bb38961875') +b2sums=('7e3fe230425b7ee403571beff74e4b4e1668aa53c388e2c00b9e5f097d528467f40ae487b61947ad2432c8f64d26690c3996e14cda25e0d43a5c456e50031539' + 'SKIP' + '77628768c16ae42967a003d33687175a0b1be40122a4a2ae86da0472f2a39ca815746523ca7c74c197f18fe0d3a36e0dc62374e32fd4f1e4a7309e7206671fc2') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -88,7 +91,6 @@ prepare() { cd ../$_srcname - echo "Setting config..." cp ../config .config make olddefconfig @@ -248,7 +250,7 @@ _package-docs() { pkgname=( "$pkgbase" "$pkgbase-headers" - "$pkgbase-docs" +# "$pkgbase-docs" ) for _p in "${pkgname[@]}"; do eval "package_$_p() { -- cgit v1.2.3-70-g09d2