blob: e46f1fed854cb907a1b316b1515709b9173c7881 (
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
|
# Maintainer: Gabor Pali <pali.gabor@gmail.com>
pkgname='rtw89-edge'
pkgver=20240106
pkgrel=06080010100
_gitrev='6dc9441698a7f2f79ff8f74c6ea3704c0c8feb61'
pkgdesc='Driver for Realtek 8852AE, an 802.11ax device (edge)'
arch="x86_64"
url='https://github.com/lwfinger/rtw89'
license="GPL-2.0"
makedepends="linux-edge-dev xz bash"
depends="linux-edge"
install=
options="!check !strip"
source="https://github.com/lwfinger/rtw89/archive/${_gitrev}.zip"
_kver=$(cd /usr/src/ && find . -mindepth 1 -maxdepth 1 -type d -name '*-edge' | sed 's!./linux-headers-!!')
_kbase="/lib/modules/${_kver}"
_srcdir="$srcdir/rtw89-$_gitrev"
build() {
make -C "$_srcdir" -j8 KVER="$_kver"
}
package() {
xz "$_srcdir"/*.ko
install -p -D -m 644 "$_srcdir"/*.ko.xz -t "$pkgdir"/lib/modules/"$_kver"/kernel/drivers/net/wireless/realtek/rtw89
}
sha512sums="
abc7ae94bac8a4ddb86d623c95f8ff6cd94ab88c4a462be471e8af0d29aa45d08ec0bc1f7c56d54e42f77201a0976dd39e8c0d06754d850fdf117abd1b3ce94d 6dc9441698a7f2f79ff8f74c6ea3704c0c8feb61.zip
"
|