mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
21 lines
878 B
Bash
21 lines
878 B
Bash
# Maintainer: iDigitalFlame <idf@idfla.me>
|
|
pkgname="amzn-ena-aarch64-dkms"
|
|
pkgver="2.9.1"
|
|
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=("80737d1f3048c3c09a6d9acae2dd479e2d2470d93aaa44ec6a0ed657130436d4"
|
|
"e8fc556c0b4d0e8f7f11ba4a6a37cfba4f349292d8d3b8a052ccdab05e9c8bdf")
|
|
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"
|
|
}
|