blob: 91114f1a43084937c4f398c3abeca1df32b7998d (
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='rtl8821ce'
pkgver=20220601
pkgrel=0
_gitrev='be733dc86781c68571650b395dd0fa6b53c0a039'
pkgdesc='Driver for Realtek 8821CE, an 802.11ac device'
arch="x86_64"
url='https://github.com/tomaspinho/rtl8821ce'
license="GPL-2.0"
makedepends="linux-lts-dev xz"
depends="linux-lts"
install=
options="!check !strip"
source="https://github.com/tomaspinho/rtl8821ce/archive/${_gitrev}.zip"
_kver=$(cd /usr/src/ && find . -mindepth 1 -maxdepth 1 -type d | sed 's!./linux-headers-!!')
_kbase="/lib/modules/${_kver}"
_srcdir="$srcdir/rtl8821ce-$_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/rtl8821ce
}
sha512sums="
74bebce71b33fc17e7317b32a3699bbc9eb74424ac0376acadb36bc707466667d87fb087f405911a421b130406e836ed2f7c2cae1f2fbc223743e509da8bfe4d be733dc86781c68571650b395dd0fa6b53c0a039.zip
"
|