mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
21 lines
879 B
Bash
21 lines
879 B
Bash
# Maintainer: iDigitalFlame <idf@idfla.me>
|
|
pkgname="amzn-ena-aarch64-dkms"
|
|
pkgver="2.11.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_${pkgver}.tar.gz"
|
|
"dkms.conf")
|
|
sha256sums=("7a52a06c34e5b9c13c9fee9bfc2383a7398b982cfec38ab03779e6b015ae91e4"
|
|
"cfa28a7313381bf32099a91fad31f531cb57fb0e7b6a47dea7ae3f9a652c8dd2")
|
|
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"
|
|
}
|