blob: bd063e37af7e282525e0c2d30c3f06a668fe6135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Christoph Heiss <contact(at)christoph-heiss(dot)at>
# Contributor: Edward Pacman <edward(at)edward(minus)p(dot)xyz>
# Contributor: Kurobac <kurobac(at)foxmail(dot)com>
_pkgbase=alx-wol
_kernel_tag=5.13.13-arch1
pkgname=${_pkgbase}-dkms
pkgver=5
pkgrel=4
pkgdesc='The alx kernel module with a patch enabling WoL applied'
url='https://bugzilla.kernel.org/show_bug.cgi?id=61651'
license=("GPL")
arch=('i686' 'x86_64')
depends=('dkms')
optdepends=('linux-headers: Needed for build the module for Arch kernel'
'linux-lts-headers: Needed for build the module for LTS Arch kernel'
'linux-zen-headers: Needed for build the module for ZEN Arch kernel')
source=("alx.h::https://raw.githubusercontent.com/archlinux/linux/v${_kernel_tag}/drivers/net/ethernet/atheros/alx/alx.h"
"ethtool.c::https://raw.githubusercontent.com/archlinux/linux/v${_kernel_tag}/drivers/net/ethernet/atheros/alx/ethtool.c"
"hw.c::https://raw.githubusercontent.com/archlinux/linux/v${_kernel_tag}/drivers/net/ethernet/atheros/alx/hw.c"
"hw.h::https://raw.githubusercontent.com/archlinux/linux/v${_kernel_tag}/drivers/net/ethernet/atheros/alx/hw.h"
"main.c::https://raw.githubusercontent.com/archlinux/linux/v${_kernel_tag}/drivers/net/ethernet/atheros/alx/main.c"
"reg.h::https://raw.githubusercontent.com/archlinux/linux/v${_kernel_tag}/drivers/net/ethernet/atheros/alx/reg.h"
000-enable-alx-wol.patch
Kbuild
dkms.conf)
sha256sums=('0d39a982d018b70b112e82207a90cc9daf2c177e53644fdab2ee2aacb52ef394'
'9980a7719f34ed8b1120891196a97afba515f9a6cb9c9646d0a2cdb7a3e89708'
'bf9ac0fa98031523e05d5d62c08ee116fd4a437f66538c95eac18adda10ff89b'
'fcc0306b37382cf8e2f75eafb6bd8696a4a5e360110e5cfe800485f4eebe55aa'
'066e69cc796eea7eacb08147f1ae6364d8ed6a373615aca89c3509fc509a560f'
'88a23ab8e6fe814efe81910bd8806f5988d367a628458154edaebdf4ccbe4902'
'76459b75b6cf90cf0dc861066abe15fd147b4c7f4a49cec92617e80b5ae31a3d'
'8a62bb5adf6e554f470f88f8da58da0ce05cb8276ab56fb45ed5d31c71665d39'
'f3aefc85fd246a74ee2be831c15b6440d22c497e84fba1f57e152c82f2946d1a')
prepare() {
mkdir "${srcdir}/workdir"
cd "${srcdir}/workdir"
cp "${srcdir}/"{alx.h,ethtool.c,hw.c,hw.h,main.c,reg.h} .
patch -p6 < ../000-enable-alx-wol.patch
}
package() {
local dest="$pkgdir/usr/src/${_pkgbase}-$pkgver"
mkdir -p $dest
cd "${srcdir}/workdir/"
cp --preserve=all {alx.h,ethtool.c,hw.c,hw.h,main.c,reg.h} $dest
cd "${srcdir}"
cp --preserve=all Kbuild dkms.conf $dest
}
|