2022-09-02 22:30:42 +00:00
|
|
|
# Maintainer: iDigitalFlame <idf@idfla.me>
|
|
|
|
pkgname="amzn-ena-aarch64-dkms"
|
2024-09-15 19:07:42 +00:00
|
|
|
pkgver="2.13.0"
|
2022-09-14 23:54:36 +00:00
|
|
|
pkgrel="1"
|
2022-09-02 22:30:42 +00:00
|
|
|
pkgdesc="Linux kernel driver for Amazon's Elastic Network Adapter (ENA)"
|
|
|
|
arch=("aarch64")
|
|
|
|
url="https://github.com/amzn/amzn-drivers"
|
|
|
|
license=("GPL")
|
2022-09-14 23:54:36 +00:00
|
|
|
depends=("dkms" "linux-aarch64" "linux-aarch64-headers")
|
2022-09-02 22:30:42 +00:00
|
|
|
install="amzn-drivers.install"
|
2023-02-10 01:14:22 +00:00
|
|
|
source=("https://github.com/amzn/amzn-drivers/archive/refs/tags/ena_linux_${pkgver}.tar.gz"
|
2022-09-14 23:54:36 +00:00
|
|
|
"dkms.conf")
|
2024-09-15 19:07:42 +00:00
|
|
|
sha256sums=("82022dcf1050a0309fa098b2cd1457e2efe3a3c37f385cd15a723e7f7a90784f"
|
|
|
|
"3d3e5f963a0d80568ea89bf22a2eda9cea7f805e1fc6c35c498a8379cb6b2313")
|
2022-09-02 22:30:42 +00:00
|
|
|
buildarch=8
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "${pkgdir}/usr/src" 2> /dev/null
|
2023-02-10 01:14:22 +00:00
|
|
|
cp -R "${srcdir}/amzn-drivers-ena_linux_${pkgver}/kernel/linux" "${pkgdir}/usr/src/amzn-drivers-${pkgver}"
|
2022-09-14 23:54:36 +00:00
|
|
|
install -Dm644 "dkms.conf" "${pkgdir}/usr/src/amzn-drivers-${pkgver}/dkms.conf"
|
2022-09-02 22:30:42 +00:00
|
|
|
}
|