From b84bbe90eabd6b2cd9f13d5927bd61a183c73525 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Sun, 3 Mar 2024 08:30:44 +0200 Subject: extra/linux-pae: Merge the two PKGBUILDs Unsure if the source hackery is somehow breaking buildmaster. --- extra/linux-pae/PKGBUILD_upstream_linux | 242 -------------------------------- 1 file changed, 242 deletions(-) delete mode 100644 extra/linux-pae/PKGBUILD_upstream_linux (limited to 'extra/linux-pae/PKGBUILD_upstream_linux') diff --git a/extra/linux-pae/PKGBUILD_upstream_linux b/extra/linux-pae/PKGBUILD_upstream_linux deleted file mode 100644 index 64753de7..00000000 --- a/extra/linux-pae/PKGBUILD_upstream_linux +++ /dev/null @@ -1,242 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) - -pkgbase=linux -pkgver=6.7.7.arch1 -pkgrel=1 -pkgdesc='Linux' -url='https://github.com/archlinux/linux' -arch=(x86_64) -license=(GPL2) -makedepends=( - bc - cpio - gettext - libelf - pahole - perl - python - tar - xz - - # htmldocs - graphviz - imagemagick - python-sphinx - texlive-latexextra -) -options=('!strip') -_srcname=linux-${pkgver%.*} -_srctag=v${pkgver%.*}-${pkgver##*.} -source=( - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.{xz,sign} - $url/releases/download/$_srctag/linux-$_srctag.patch.zst{,.sig} - config # the main kernel config file -) -validpgpkeys=( - ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds - 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman - 83BC8889351B5DEBBB68416EB8AC08600F108CDF # Jan Alexander Steffens (heftig) -) -# https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc -sha256sums=('256b8b44570ddbe266eb3ad0c2cba2616f1609b4a3de5014a3da5512907b14d9' - 'SKIP' - '47208683675e5ad065c9a3821aa975fdb3c37d7d7d77222da4d6f8c3f09827d1' - 'SKIP' - '04143712e593d45a597661fe00f89cf92d52c62df3468c68a46c952c2ef4db64') -b2sums=('ef97a036ab6cd421200b2e8f0a49c6b570d2269a5e182ea948d48d456e6414bfa61f5f6efa2bad65efbe811d2078a54a4edff9c27de609401160f3905fe27a22' - 'SKIP' - '45e0ef14e26323bbd2457f77e4c1e9fc0c2d6fb028bb24814d38c2ebfbeaa2aee29cad2f5154df372d098856cf7f3fcd585575e5b95b93cba47ee5de9f92b8e0' - 'SKIP' - '21083151bdcd0fc2bcc0475b9cd73bab5666a71f043eedd67b19a3a4c09c8253a5a06794ce9270215782f5885e05e70b5e424123f1bded7aa7a6d3f30d02a4b3') - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - cd $_srcname - - echo "Setting version..." - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - local src - for src in "${source[@]}"; do - src="${src%%::*}" - src="${src##*/}" - src="${src%.zst}" - [[ $src = *.patch ]] || continue - echo "Applying patch $src..." - patch -Np1 < "../$src" - done - - echo "Setting config..." - cp ../config .config - make olddefconfig - diff -u ../config .config || : - - make -s kernelrelease > version - echo "Prepared $pkgbase version $(