PKGBUILDs/alarm/amzn-ena-aarch64-dkms/PKGBUILD
2023-02-09 18:14:22 -07:00

21 lines
878 B
Bash

# Maintainer: iDigitalFlame <idf@idfla.me>
pkgname="amzn-ena-aarch64-dkms"
pkgver="2.8.3"
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_${pkgver}.tar.gz"
"dkms.conf")
sha256sums=("357ee02b7233514463d6d47d97f498a1840e83a86ba48c505994a71755998a44"
"6787747d1432d74a365768002494ab672b626568d73fe5ff13435191218628ee")
buildarch=8
package() {
mkdir -p "${pkgdir}/usr/src" 2> /dev/null
cp -R "${srcdir}/amzn-drivers-ena_linux_${pkgver}/kernel/linux" "${pkgdir}/usr/src/amzn-drivers-${pkgver}"
install -Dm644 "dkms.conf" "${pkgdir}/usr/src/amzn-drivers-${pkgver}/dkms.conf"
}