rtl88x2bu-openhd-dkms-git: add RTL88x2BU driver with OpenHD patches
This commit is contained in:
parent
e191ff8f71
commit
e2bb704887
14
rtl88x2bu-openhd-dkms-git/.SRCINFO
Normal file
14
rtl88x2bu-openhd-dkms-git/.SRCINFO
Normal file
@ -0,0 +1,14 @@
|
||||
pkgbase = rtl88x2bu-openhd-dkms-git
|
||||
pkgdesc = Realtek RTL88x2BU WiFi USB Driver for Linux (with OpenHD patches)
|
||||
pkgver = 5.13.1.r210.6554258
|
||||
pkgrel = 1
|
||||
url = https://github.com/OpenHD/rtl88x2bu
|
||||
arch = any
|
||||
license = GPL2
|
||||
makedepends = git
|
||||
depends = dkms
|
||||
depends = bc
|
||||
source = git+https://github.com/OpenHD/rtl88x2bu.git
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = rtl88x2bu-openhd-dkms-git
|
3
rtl88x2bu-openhd-dkms-git/.gitignore
vendored
Normal file
3
rtl88x2bu-openhd-dkms-git/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!/PKGBUILD
|
||||
!/.SRCINFO
|
30
rtl88x2bu-openhd-dkms-git/PKGBUILD
Normal file
30
rtl88x2bu-openhd-dkms-git/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Maintainer: Rihards Skuja <rihards at skuja dot eu>
|
||||
|
||||
pkgname=rtl88x2bu-openhd-dkms-git
|
||||
_modname=88x2bu
|
||||
pkgver=5.13.1.r210.6554258
|
||||
_pkgver=5.13.1
|
||||
pkgrel=1
|
||||
pkgdesc='Realtek RTL88x2BU WiFi USB Driver for Linux (with OpenHD patches)'
|
||||
arch=(any)
|
||||
url='https://github.com/OpenHD/rtl88x2bu'
|
||||
license=(GPL2)
|
||||
depends=(dkms bc)
|
||||
makedepends=(git)
|
||||
source=('git+https://github.com/OpenHD/rtl88x2bu.git')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/rtl88x2bu"
|
||||
printf '%s.r%s.%s' "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/rtl88x2bu"
|
||||
mkdir -p "${pkgdir}/usr/src/${_modname}-${pkgver}"
|
||||
cp -pr * "${pkgdir}/usr/src/${_modname}-${pkgver}"
|
||||
install -Dm644 dkms.conf "${pkgdir}/usr/src/${_modname}-${pkgver}/dkms.conf"
|
||||
sed -e "s/@PKGVER@/${pkgver}/" -i "${pkgdir}/usr/src/${_modname}-${pkgver}/dkms.conf"
|
||||
mkdir -p "${pkgdir}/usr/lib/modprobe.d/"
|
||||
echo "blacklist rtw88_8822bu" > "${pkgdir}/usr/lib/modprobe.d/rtw8822bu.conf"
|
||||
}
|
Loading…
Reference in New Issue
Block a user