summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorknedlyk2021-02-05 20:03:58 +0100
committerknedlyk2021-02-05 20:03:58 +0100
commitb90d9c8aab91962893dc6b5a074ce07f5d69b9ff (patch)
treebcbb62a08f06e3a57d11270daa5dac32fb0700be
parentd862af07753b3094052d78e37a39d75a81a8d4ff (diff)
downloadaur-b90d9c8aab91962893dc6b5a074ce07f5d69b9ff.tar.gz
added blacklisted btusb module
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
-rw-r--r--rtl8761usb.conf1
3 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f4475f06a417..392102ccfb8c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rtl8761usb
pkgdesc = Realtek bluetooth modules for RTL8761 usb based devices
pkgver = 20201202
- pkgrel = 1
+ pkgrel = 2
url = https://www.xmpow.com/pages/download
install = depmod.install
arch = any
@@ -10,7 +10,9 @@ pkgbase = rtl8761usb
depends = linux
conflicts = rtl8761b-fw
source = https://mpow.s3-us-west-1.amazonaws.com/20201202_mpow_BH456A_driver+for+Linux.7z
+ source = rtl8761usb.conf
md5sums = 994ad1d6f6bd1e63190dfef7f64bbb34
+ md5sums = 70d0ec0c62293d5c64e0bf148300c998
pkgname = rtl8761usb
diff --git a/PKGBUILD b/PKGBUILD
index c2bf22d3d1e4..a2ecacefccf5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
pkgname=rtl8761usb
pkgver=20201202
-pkgrel=1
+pkgrel=2
pkgdesc="Realtek bluetooth modules for RTL8761 usb based devices"
arch=('any')
url="https://www.xmpow.com/pages/download"
license=('unknown')
-source=("https://mpow.s3-us-west-1.amazonaws.com/${pkgver}_mpow_BH456A_driver+for+Linux.7z")
+source=("https://mpow.s3-us-west-1.amazonaws.com/${pkgver}_mpow_BH456A_driver+for+Linux.7z"
+ "rtl8761usb.conf")
conflicts=('rtl8761b-fw')
depends=('linux')
makedepends=('linux-headers')
@@ -23,6 +24,10 @@ package() {
cd ${pkgver}_LINUX_BT_DRIVER
make install INTERFACE=usb
install -d "$pkgdir/usr/lib/"
+ install -d "$pkgdir/etc/modprobe.d/"
cp -r lib/* "$pkgdir/usr/lib/"
+ install -m644 "$srcdir/rtl8761usb.conf" "$pkgdir/etc/modprobe.d/"
}
-md5sums=('994ad1d6f6bd1e63190dfef7f64bbb34')
+
+md5sums=('994ad1d6f6bd1e63190dfef7f64bbb34'
+ '70d0ec0c62293d5c64e0bf148300c998')
diff --git a/rtl8761usb.conf b/rtl8761usb.conf
new file mode 100644
index 000000000000..6764d3e513f2
--- /dev/null
+++ b/rtl8761usb.conf
@@ -0,0 +1 @@
+blacklist btusb