# Maintainer: iDigitalFlame pkgname="amzn-ena-aarch64-dkms" pkgver="2.8.0" pkgrel="1" pkgdesc="Linux kernel driver for Amazon's Elastic Network Adapter (ENA)" arch=("aarch64") url="https://github.com/amzn/amzn-drivers" license=("GPL") depends=("dkms" "linux-aarch64" "linux-aarch64-headers") install="amzn-drivers.install" source=("https://github.com/amzn/amzn-drivers/archive/refs/tags/ena_linux_2.8.0.tar.gz" "dkms.conf") sha256sums=("345d3ac82aae53e4541dd437590f98b4136b15570d42ac6301380ae9d7976274" "15b04f8e0cd64e2e28f126277a638259f14e8b1f18e75e28780ceb6c1d1fa2a3") buildarch=8 package() { mkdir -p "${pkgdir}/usr/src" 2> /dev/null cp -R "${srcdir}/amzn-drivers-ena_linux_2.8.0/kernel/linux" "${pkgdir}/usr/src/amzn-drivers-${pkgver}" install -Dm644 "dkms.conf" "${pkgdir}/usr/src/amzn-drivers-${pkgver}/dkms.conf" }