SHARE
TWEET

PKGBUILD

a guest Aug 19th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=rtl8723bu-master
  2. _pkgname=rtl8723bu-master
  3. pkgver=r193.4c9b566
  4. pkgrel=1
  5. pkgdesc="Driver for RTL8723BU"
  6. url="https://github.com/lwfinger/rtl8723bu"
  7. provides=('rtl8723bu-git')
  8. arch=('any')
  9. license=('GPL')
  10. install=rtl8723bu-git.install
  11. builddepends=('linux-headers')
  12. source=('rtl8723bu-master.tar.gz'
  13.     'blacklist-rtl8723bu.conf')
  14. sha256sums=('SKIP'
  15.             'dc6a9bfc6a796461da2219accc7a6ae755ea13253737630e1538f3d98aa7aff5')
  16.  
  17. build() {  
  18.     cd "${srcdir}/${_pkgname}/"
  19.     make
  20. }
  21.  
  22. package() {
  23.     mkdir -p "${pkgdir}/etc/modprobe.d/"
  24.     install -p -m 644 blacklist-rtl8723bu.conf "${pkgdir}/etc/modprobe.d/"
  25.     cd "${srcdir}/${_pkgname}/"
  26.     _kver=$(uname -r)
  27.     mkdir -p "${pkgdir}/usr/lib/modules/${_kver}/kernel/drivers/net/wireless/rtl8723bu/"
  28.     install -p -m 644 8723bu.ko "${pkgdir}/usr/lib/modules/${_kver}/kernel/drivers/net/wireless/rtl8723bu/"
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top