diff options
author | Miklós Tóth | 2023-12-04 12:02:39 +0000 |
---|---|---|
committer | Miklós Tóth | 2023-12-04 12:02:39 +0000 |
commit | 53952291c3528410333bf3649ee37d1febc1bf89 (patch) | |
tree | 0c43c0713b47bad0cc46c9def5e437fd694ca341 /PKGBUILD | |
parent | 85bf47da003ad66f88d0d6385d839b12953ef5dd (diff) | |
download | aur-53952291c3528410333bf3649ee37d1febc1bf89.tar.gz |
automatic update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 61 |
1 files changed, 40 insertions, 21 deletions
@@ -1,6 +1,6 @@ # Maintainer: Joan Figueras <ffigue at gmail dot com> # Contributor: Torge Matthies <openglfreak at googlemail dot com> -# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org> ## ## The following variables can be customized at build time. Use env or export to change at your wish @@ -72,8 +72,8 @@ fi ### IMPORTANT: Do no edit below this line unless you know what you're doing pkgbase=linux-xanmod-anbox -_major=6.5 -pkgver=${_major}.13 +_major=6.6 +pkgver=${_major}.4 _branch=6.x xanmod=1 _revision= @@ -85,7 +85,15 @@ arch=(x86_64) license=(GPL2) makedepends=( - bc cpio kmod libelf perl tar xz + bc + cpio + gettext + libelf + pahole + perl + python + tar + xz ) if [ "${_compiler}" = "clang" ]; then makedepends+=(clang llvm lld python) @@ -105,13 +113,12 @@ validpgpkeys=( _commit="ec9e9a4219fe221dec93fa16fddbe44a34933d8d" _patches=() for _patch in ${_patches[@]}; do - #source+=("${_patch}::https://git.archlinux.org/svntogit/packages.git/plain/trunk/${_patch}?h=packages/linux&id=${_commit}") source+=("${_patch}::https://raw.githubusercontent.com/archlinux/svntogit-packages/${_commit}/trunk/${_patch}") done -sha256sums=('7a574bbc20802ea76b52ca7faf07267f72045e861b18915c5272a98c27abf884' +sha256sums=('d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0' 'SKIP' - '9056062aee2045b5cd68c1a043d96dc8dd4793aa87ac394a103f369fbf64d7fd' + 'ce833776671df7b8f366f79b3e7f1fbffc967d7e8ad5c055c4e2e7f81c9d4f75' 'a8b38eb482eb685944757182c4886404abc12703e5e56ec39c7d61298d17d71f') export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux} @@ -243,17 +250,28 @@ build() { _package() { pkgdesc="The Linux kernel and modules with Xanmod patches and ashmem and binder enabled" - depends=(coreutils kmod initramfs) - optdepends=('crda: to set the correct wireless channels of your country' - 'linux-firmware: firmware images needed for some devices') - provides=(VIRTUALBOX-GUEST-MODULES - WIREGUARD-MODULE - KSMBD-MODULE - NTFS3-MODULE) + depends=( + coreutils + initramfs + kmod + ) + optdepends=( + 'wireless-regdb: to set the correct wireless channels of your country' + 'linux-firmware: firmware images needed for some devices' + ) + provides=( + KSMBD-MODULE + VIRTUALBOX-GUEST-MODULES + WIREGUARD-MODULE + NTFS3-MODULE + ) + replaces=( + virtualbox-guest-modules-arch + wireguard-arch + ) cd linux-${_major} - local kernver="$(<version)" - local modulesdir="$pkgdir/usr/lib/modules/$kernver" + local modulesdir="$pkgdir/usr/lib/modules/$(<version)" msg2 "Installing boot image..." # systemd expects to find the kernel here to allow hibernation @@ -264,10 +282,11 @@ _package() { echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" msg2 "Installing modules..." - make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install + ZSTD_CLEVEL=19 make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \ + DEPMOD=/doesnt/exist modules_install # Suppress depmod - # remove build and source links - rm "$modulesdir"/{source,build} + # remove build link + rm "$modulesdir"/build } _package-headers() { @@ -332,7 +351,7 @@ _package-headers() { msg2 "Stripping build tools..." local file while read -rd '' file; do - case "$(file -bi "$file")" in + case "$(file -Sib "$file")" in application/x-sharedlib\;*) # Libraries (.so) strip -v $STRIP_SHARED "$file" ;; application/x-archive\;*) # Libraries (.a) @@ -346,7 +365,7 @@ _package-headers() { msg2 "Stripping vmlinux..." strip -v $STRIP_STATIC "$builddir/vmlinux" - + msg2 "Adding symlink..." mkdir -p "$pkgdir/usr/src" ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" |