Skip to content

Commit a1be0d6

Browse files
committed
add: rtl8821cu-dkms-git
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent d197267 commit a1be0d6

File tree

4 files changed

+89
-0
lines changed

4 files changed

+89
-0
lines changed

packagelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ rpcs3-app
690690
rpi-imager-app
691691
rsbbi-git
692692
rstudio-deb
693+
rtl8821cu-dkms-git
693694
rust-bin
694695
rust-bindgen-git
695696
rust-motd-deb
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
pkgbase = rtl8821cu-dkms-git
2+
gives = 8821cu-20210916
3+
pkgver = 5.12.0.4
4+
pkgdesc = Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH and RTL8731AU Chipsets
5+
url = https://github.com/morrownr/8821cu-20210916
6+
arch = amd64
7+
arch = arm64
8+
depends = dkms
9+
depends = curl
10+
depends = kmod
11+
depends = bc
12+
depends = iproute2
13+
makedepends = bash
14+
makedepends = nano
15+
makedepends = bc
16+
makedepends = build-essential
17+
makedepends = linux-headers-
18+
optdepends = usb-modeswitch: A tool that can switch the adapter from CD-ROM mode to Wi-Fi mode
19+
pacdeps = firmware-realtek-deb
20+
maintainer = aKqir24 <aKqir24@github.com>
21+
repology = project: rtl8821cu-dkms-git
22+
source = https://github.com/morrownr/8821cu-20210916.git
23+
24+
pkgname = rtl8821cu-dkms-git
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
pkgname="rtl8821cu-dkms-git"
2+
gives="8821cu-20210916"
3+
repology=("project: ${pkgname}")
4+
pkgdesc="Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH and RTL8731AU Chipsets"
5+
pkgver="5.12.0.4"
6+
arch=("amd64" "arm64")
7+
url='https://github.com/morrownr/8821cu-20210916'
8+
depends=(
9+
"dkms"
10+
"curl"
11+
"kmod"
12+
"bc"
13+
"iproute2"
14+
)
15+
makedepends=(
16+
"bash"
17+
"nano"
18+
"bc"
19+
"build-essential"
20+
"linux-headers-${CARCH}"
21+
)
22+
pacdeps=("firmware-realtek-deb")
23+
optdepends=("usb-modeswitch: A tool that can switch the adapter from CD-ROM mode to Wi-Fi mode")
24+
source=("https://github.com/morrownr/${gives}.git")
25+
maintainer=("aKqir24 <aKqir24@github.com>")
26+
27+
package() {
28+
cd "${gives}"
29+
bash install-driver.sh
30+
}
31+
32+
post_remove() {
33+
modprobe -r rtl8821cu
34+
bash -c "$(curl -fsSL https://raw.githubusercontent.com/morrownr/8821cu-20210916/refs/heads/main/remove-driver.sh)"
35+
}
36+
37+
post_install() {
38+
modprobe rtl8821cu
39+
}

srclist

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13462,6 +13462,31 @@ pkgbase = rstudio-deb
1346213462

1346313463
pkgname = rstudio-deb
1346413464
---
13465+
pkgbase = rtl8821cu-dkms-git
13466+
gives = 8821cu-20210916
13467+
pkgver = 5.12.0.4
13468+
pkgdesc = Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH and RTL8731AU Chipsets
13469+
url = https://github.com/morrownr/8821cu-20210916
13470+
arch = amd64
13471+
arch = arm64
13472+
depends = dkms
13473+
depends = curl
13474+
depends = kmod
13475+
depends = bc
13476+
depends = iproute2
13477+
makedepends = bash
13478+
makedepends = nano
13479+
makedepends = bc
13480+
makedepends = build-essential
13481+
makedepends = linux-headers-
13482+
optdepends = usb-modeswitch: A tool that can switch the adapter from CD-ROM mode to Wi-Fi mode
13483+
pacdeps = firmware-realtek-deb
13484+
maintainer = aKqir24 <aKqir24@github.com>
13485+
repology = project: rtl8821cu-dkms-git
13486+
source = https://github.com/morrownr/8821cu-20210916.git
13487+
13488+
pkgname = rtl8821cu-dkms-git
13489+
---
1346513490
pkgbase = rust-bin
1346613491
gives = rust
1346713492
pkgver = 1.92.0

0 commit comments

Comments
 (0)