diff options
author | khvalera | 2022-09-20 02:29:46 +0300 |
---|---|---|
committer | khvalera | 2022-09-20 02:29:46 +0300 |
commit | 05ee6d8fe68b76e2cc430a0238001f91b394efab (patch) | |
tree | aa13442b819eaece9a6089f84e80675028245ee1 | |
parent | 044bcc5c9c1bb9ed0e4007f5de6997dcc606af45 (diff) | |
download | aur-05ee6d8fe68b76e2cc430a0238001f91b394efab.tar.gz |
rtl8821cu-git
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = rtl8821cu-git pkgdesc = Linux Driver for USB WiFi Adapters that use the RTL8811CU, RTL8821CU and RTL8731AU Chipsets - pkgver = 5.8.1.7.99.e54b8f4 + pkgver = 5.12.0.34.76605e4 pkgrel = 1 url = https://github.com/morrownr/8821cu install = rtl8821cu-git.install @@ -11,12 +11,12 @@ pkgbase = rtl8821cu-git makedepends = git makedepends = make makedepends = linux-headers + depends = linux-headers conflicts = rtl8821cu conflicts = rtl8821cu-dkms-git - source = git+https://github.com/morrownr/8821cu + source = git+https://github.com/morrownr/8821cu-20210118#branch=main source = rtl8821cu-git.install sha256sums = SKIP sha256sums = afe2dc6de056dfeb319910ac1e63d914983108a971dfbc1403119d024d790899 pkgname = rtl8821cu-git - @@ -1,16 +1,17 @@ pkgname=rtl8821cu-git _pkgbase=rtl8821cu -_pkgver="5.8.1.7" -pkgver=5.8.1.7.99.e54b8f4 +_pkgver="5.12.0" +pkgver=5.12.0.34.76605e4 pkgrel=1 pkgdesc="Linux Driver for USB WiFi Adapters that use the RTL8811CU, RTL8821CU and RTL8731AU Chipsets" arch=('i686' 'x86_64' 'armv7h') url="https://github.com/morrownr/8821cu" license=('GPL2') -#depends=('linux'=$kernelver) +depends=('linux-headers') +#'linux'=$kernelver makedepends=('git' 'make' 'linux-headers') conflicts=("${_pkgbase}" "${_pkgbase}-dkms-git") -source=("git+https://github.com/morrownr/8821cu" +source=("git+https://github.com/morrownr/8821cu-20210118#branch=main" "$pkgname.install") install=$pkgname.install sha256sums=('SKIP' 'afe2dc6de056dfeb319910ac1e63d914983108a971dfbc1403119d024d790899') @@ -19,12 +20,12 @@ procs_num=$(nproc) _extramodules=$(cat `find /usr/lib/modules/extramodules* -type 'f' -name 'version'`) pkgver() { - cd ${srcdir}/8821cu + cd ${srcdir}/8821cu-20210118 printf '%s' ${_pkgver} "." "$(git rev-list --count HEAD)" "." "$(git rev-parse --short HEAD)" } build() { - cd ${srcdir}/8821cu + cd ${srcdir}/8821cu-20210118 if [ ${CARCH} == "armv7h" ]; then ARCH="arm" else @@ -34,7 +35,7 @@ build() { } package(){ - cd ${srcdir}/8821cu + cd ${srcdir}/8821cu-20210118 file_dir="$pkgdir/usr/lib/modules/${_extramodules}/kernel/drivers/net/wireless/realtek/rtl8821cu" mkdir -p $file_dir install -Dm644 "8821cu.ko" "$file_dir/8821cu.ko" |