shouldn't
linux-headers
be a dependency?
Git Clone URL: | https://aur.archlinux.org/rtl8812au-dkms-git.git (read-only, click to copy) |
---|---|
Package Base: | rtl8812au-dkms-git |
Description: | rtl8812AU chipset driver with firmware v5.13.6 |
Upstream URL: | https://github.com/morrownr/8812au-20210629 |
Licenses: | GPL2 |
Conflicts: | rtl8812au |
Submitter: | thelinuxguy |
Maintainer: | zebulon (zebulon) |
Last Packager: | zebulon |
Votes: | 76 |
Popularity: | 0.185116 |
First Submitted: | 2015-06-08 13:04 (UTC) |
Last Updated: | 2022-09-02 13:21 (UTC) |
shouldn't
linux-headers
be a dependency?
As noted here https://github.com/morrownr/8812au-20210629/commit/8be3a1d7acf60f77c5d9c33b690b8d7301bdf127 please update upstream URL to https://github.com/morrownr/8812au-20210820
not working for me on 6.7
I think this package works fine on aarch64 (raspberry pi 4), could be added to the list of supported architectures.
I don't think bc is actually required on arch. I tried the pkgbuild just without bc dependency and the dkms still built fine without error. bc is only used to disable date-time warning which doesn't seem to be active anyway.
@ensarman: there is another AUR package for that, https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git This one is for the people who indeed have problems with the aircrack-ng version.
I propose to change the repostory from https://github.com/morrownr/8812au-20210629 to https://github.com/aircrack-ng/rtl8812au because the first isnt working for me but the aircrack one works well
Hi all, I will work on updating the package asap.
Hi @zwangzw,
would you mind sharing your modified PKGBUILD? Using ./install-driver.sh of the mentioned git-repo / driver does not work with makepkg, since you would need root... Thanks!
I figured it out myself. Since I don't know how to send a Pull-Request in this git:
# Maintainer: zebulon <zeb (at)zebulon(dot)org(dot)uk>
# Contributor: NovaMoon <novamoon1 (at)gmail(dot)com>
# Contributor: dchusovitin <dchusovitin@gmail.com>
# Contributor: unphysicalix <develADDzukuulDE>
pkgname=8812au-20210629-dkms-git
_pkgbase=rtl8812au
pkgver=5.13.6.r58.g0dfeb46
pkgrel=1
pkgdesc="rtl8812AU chipset driver with firmware v5.13.6"
arch=('i686' 'x86_64')
url="https://github.com/morrownr/8812au-20210629"
license=('GPL2')
depends=('dkms' 'bc')
makedepends=('git')
conflicts=("${_pkgbase}")
source=("git+https://github.com/morrownr/8812au-20210629.git"
'dkms.conf')
pkgver() {
cd ${srcdir}/8812au-20210629
printf '%s.r%s.g%s' '5.13.6' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${srcdir}/8812au-20210629
mkdir -p ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
cp -pr * ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
cp ${srcdir}/dkms.conf ${pkgdir}/usr/src/${_pkgbase}-${pkgver}
# Set name and version
sed -e "s/@_PKGBASE@/${_pkgbase}-dkms/" \
-e "s/@PKGVER@/${pkgver}/" \
-i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
}
md5sums=('SKIP'
'162280507ab510c1b6617c7f4aa36cb8')
and
PACKAGE_NAME="@PKGBASE@"
PACKAGE_VERSION="@PKGVER@"
BUILT_MODULE_NAME[0]="8812au"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
PROCS_NUM=$(nproc)
[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
MAKE="'make' -j$PROCS_NUM KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
CLEAN="'make' clean"
AUTOINSTALL="yes"
#REMAKE_INITRD=no
Pinned Comments
zebulon commented on 2019-10-01 06:19 (UTC)
To all having an issue with this driver: please try https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git alternatively.