Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD - rtl8192ce_pci

By: a guest on Dec 9th, 2010  |  syntax: Bash  |  size: 0.95 KB  |  views: 401  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Peter Bui <pnutzh4x0r@gmail.com>
  2.  
  3.  
  4.  
  5. pkgname=rtl8192ce
  6.  
  7. pkgver=2.6.0003.0628.2010
  8.  
  9. pkgrel=1
  10.  
  11. pkgdesc="Drivers for Realtek 8192SE wireless chipset"
  12.  
  13. license="GPL"
  14.  
  15. depends=('kernel26-headers')
  16.  
  17. source=("http://www.nd.edu/~pbui/scratch/aur/${pkgname}_linux_${pkgver}.tar.gz")
  18.  
  19. arch=('i686' 'x86_64')
  20.  
  21. url="http://www.realtek.com.tw/"
  22.  
  23. install="${pkgname}.install"
  24.  
  25.  
  26.  
  27. build() {
  28.  
  29.     cd ${srcdir}/${pkgname}_linux_${pkgver}
  30.  
  31.  
  32.  
  33.     #sed -i 's/-DENABLE_LPS//' HAL/rtl8192/Makefile || return 1
  34.  
  35.     #sed -i 's/-DENABLE_LPS//' HAL/rtl8192/*/Makefile || return 1
  36.  
  37.  
  38.  
  39.     make || return 1
  40.  
  41.  
  42.  
  43.     mkdir -p ${pkgdir}/lib/firmware
  44.  
  45.     cp -rf firmware/RTL8192SE ${pkgdir}/lib/firmware
  46.  
  47.     mkdir -p ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/
  48.  
  49.     cp -f HAL/rtl8192/r8192se_pci.ko ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/
  50.  
  51. }
  52.  
  53.  
  54.  
  55. md5sums=('a79ce9fd5a7e3d2cedd397cc0b5ae1de')
clone this paste RAW Paste Data