diff --git a/packagelist b/packagelist index 5dfb9f1f08..de31a18305 100644 --- a/packagelist +++ b/packagelist @@ -690,6 +690,7 @@ rpcs3-app rpi-imager-app rsbbi-git rstudio-deb +rtl8821cu-dkms-git rust-bin rust-bindgen-git rust-motd-deb diff --git a/packages/rtl8821cu-dkms-git/.SRCINFO b/packages/rtl8821cu-dkms-git/.SRCINFO new file mode 100644 index 0000000000..0adc6cd0f9 --- /dev/null +++ b/packages/rtl8821cu-dkms-git/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = rtl8821cu-dkms-git + gives = 8821cu-20210916 + pkgver = 5.12.0.4 + pkgdesc = Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH and RTL8731AU Chipsets + url = https://github.com/morrownr/8821cu-20210916 + arch = amd64 + arch = arm64 + depends = dkms + depends = curl + depends = kmod + depends = bc + depends = iproute2 + optdepends = usb-modeswitch: A tool that can switch the adapter from CD-ROM mode to Wi-Fi mode + pacdeps = firmware-realtek-deb + maintainer = aKqir24 + repology = project: rtl8821cu-dkms-git + source = https://github.com/morrownr/8821cu-20210916.git + makedepends_amd64 = bash + makedepends_amd64 = nano + makedepends_amd64 = bc + makedepends_amd64 = build-essential + makedepends_amd64 = linux-headers-amd64 + makedepends_arm64 = bash + makedepends_arm64 = nano + makedepends_arm64 = bc + makedepends_arm64 = build-essential + makedepends_arm64 = linux-headers-arm64 + +pkgname = rtl8821cu-dkms-git diff --git a/packages/rtl8821cu-dkms-git/rtl8821cu-dkms-git.pacscript b/packages/rtl8821cu-dkms-git/rtl8821cu-dkms-git.pacscript new file mode 100644 index 0000000000..2d8cf2cb7a --- /dev/null +++ b/packages/rtl8821cu-dkms-git/rtl8821cu-dkms-git.pacscript @@ -0,0 +1,39 @@ +pkgname="rtl8821cu-dkms-git" +gives="8821cu-20210916" +repology=("project: ${pkgname}") +pkgdesc="Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH and RTL8731AU Chipsets" +pkgver="5.12.0.4" +arch=("amd64" "arm64") +url='https://github.com/morrownr/8821cu-20210916' +depends=( + "dkms" + "curl" + "kmod" + "bc" + "iproute2" +) +makedepends=( + "bash" + "nano" + "bc" + "build-essential" + "linux-headers-${CARCH}" +) +pacdeps=("firmware-realtek-deb") +optdepends=("usb-modeswitch: A tool that can switch the adapter from CD-ROM mode to Wi-Fi mode") +source=("https://github.com/morrownr/${gives}.git") +maintainer=("aKqir24 ") + +package() { + cd "${gives}" + bash install-driver.sh +} + +post_remove() { + modprobe -r rtl8821cu + bash -c "$(curl -fsSL https://raw.githubusercontent.com/morrownr/8821cu-20210916/refs/heads/main/remove-driver.sh)" +} + +post_install() { + modprobe rtl8821cu +} diff --git a/srclist b/srclist index 5449286ef4..829716d6c3 100644 --- a/srclist +++ b/srclist @@ -13462,6 +13462,36 @@ pkgbase = rstudio-deb pkgname = rstudio-deb --- +pkgbase = rtl8821cu-dkms-git + gives = 8821cu-20210916 + pkgver = 5.12.0.4 + pkgdesc = Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH and RTL8731AU Chipsets + url = https://github.com/morrownr/8821cu-20210916 + arch = amd64 + arch = arm64 + depends = dkms + depends = curl + depends = kmod + depends = bc + depends = iproute2 + optdepends = usb-modeswitch: A tool that can switch the adapter from CD-ROM mode to Wi-Fi mode + pacdeps = firmware-realtek-deb + maintainer = aKqir24 + repology = project: rtl8821cu-dkms-git + source = https://github.com/morrownr/8821cu-20210916.git + makedepends_amd64 = bash + makedepends_amd64 = nano + makedepends_amd64 = bc + makedepends_amd64 = build-essential + makedepends_amd64 = linux-headers-amd64 + makedepends_arm64 = bash + makedepends_arm64 = nano + makedepends_arm64 = bc + makedepends_arm64 = build-essential + makedepends_arm64 = linux-headers-arm64 + +pkgname = rtl8821cu-dkms-git +--- pkgbase = rust-bin gives = rust pkgver = 1.92.0