# Maintainer: Jimmy Van Veen # Add kernel metadata required by mkinitcpio and Limine on Arch Linux ARM. pkgname=linux-aarch64-pkgbase-shim pkgver=1 pkgrel=4 pkgdesc="Writes usr/lib/modules//{pkgbase,vmlinuz} for Arch Linux ARM kernels so mkinitcpio and Limine hooks find them" arch=('aarch64') url="https://github.com/omacom/omarchy-pkgs" license=('MIT') depends=('bash' 'diffutils' 'pacman') optdepends=('limine-mkinitcpio-hook: rebuild the UKI and Limine entry when the shim is installed after the kernel') options=('!debug') source=( '85-linux-aarch64-pkgbase-shim.hook' 'linux-aarch64-pkgbase-shim' 'README.package.md' ) sha256sums=('SKIP' 'SKIP' 'SKIP') package() { install -Dm644 85-linux-aarch64-pkgbase-shim.hook "${pkgdir}/usr/share/libalpm/hooks/85-linux-aarch64-pkgbase-shim.hook" install -Dm755 linux-aarch64-pkgbase-shim "${pkgdir}/usr/share/libalpm/scripts/linux-aarch64-pkgbase-shim" install -Dm644 README.package.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" }