summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormikl-ls2022-06-25 22:19:09 +0800
committermikl-ls2022-06-25 22:19:09 +0800
commitae64020e1373871a8bb1e9b55cafc02664670b3e (patch)
tree1e8607446263817808075449dfb9bbb085ee8828
parent57dc645b1b3e0bd456af482988f22b3574a9ede9 (diff)
downloadaur-ae64020e1373871a8bb1e9b55cafc02664670b3e.tar.gz
Copy 8821cu.conf
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ce1e588921ef..70952ab55b09 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rtl8821cu-morrownr-dkms-git
pkgdesc = rtl8821cu chipset driver (morrownr fork)
- pkgver = 5.8.1.7.1.b6ad883
+ pkgver = 5.8.1.7.22.88bf0e5
pkgrel = 1
url = https://github.com/morrownr/8821cu-20210118
arch = i686
@@ -13,7 +13,7 @@ pkgbase = rtl8821cu-morrownr-dkms-git
depends = dkms
conflicts = rtl8821cu-git
conflicts = rtl8821cu-dkms-git
- source = git+https://github.com/morrownr/8821cu-20210118
+ source = git+https://github.com/morrownr/8821cu-20210118#branch=main
source = dkms.conf
sha256sums = SKIP
sha256sums = a0552ddb8658b5416ae373db569f7fef9a111c9b995a85071bd89fd4cf8c804f
diff --git a/PKGBUILD b/PKGBUILD
index 58b976aba8f8..c37c05328711 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=rtl8821cu-morrownr-dkms-git
_pkgbase=rtl8821cu
_pkgver="5.8.1.7"
-pkgver=5.8.1.7.1.b6ad883
+pkgver=5.8.1.7.22.88bf0e5
pkgrel=1
pkgdesc="rtl8821cu chipset driver (morrownr fork)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
@@ -13,7 +13,7 @@ license=('GPL2')
depends=('dkms')
makedepends=('git' 'bc')
conflicts=("${_pkgbase}-git" "${_pkgbase}-dkms-git")
-source=("git+https://github.com/morrownr/8821cu-20210118"
+source=("git+https://github.com/morrownr/8821cu-20210118#branch=main"
'dkms.conf')
sha256sums=('SKIP'
'a0552ddb8658b5416ae373db569f7fef9a111c9b995a85071bd89fd4cf8c804f')
@@ -27,7 +27,9 @@ pkgver() {
package() {
cd ${srcdir}/8821cu-20210118
mkdir -p ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
+ mkdir -p ${pkgdir}/etc/modprobe.d
cp -pr * ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
+ cp ${srcdir}/8821cu-20210118/8821cu.conf ${pkgdir}/etc/modprobe.d/8821cu.conf
cp ${srcdir}/dkms.conf ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
# Set name and version
sed -e "s/@_PKGBASE@/${_pkgbase}-dkms/" \