1 # Maintainer: Jeff Parent <jecxjo@sdf.lonestar.org>
2 # Contributor: Jeff Parent <jecxjo@sdf.lonestar.org>
5 pkgver=2.6.0006.0321.2011
7 pkgdesc="Driver for Realtek 8192CE and 8188CE PCI wireless chipsets."
9 depends=('kernel-headers')
10 source=("http://jecxjo.sdf.org/aur/${pkgname}_linux_${pkgver}.tar.gz"
11 "kernel-3.0_support.patch")
12 arch=('i686' 'x86_64')
13 url="http://www.realtek.com.tw/"
14 install="${pkgname}.install"
17 cd ${srcdir}/${pkgname}_linux_${pkgver}
19 patch -p1 < ../kernel-3.0_support.patch
23 mkdir -p ${pkgdir}/lib/firmware
24 cp -rf firmware/RTL8192CE ${pkgdir}/lib/firmware
26 mkdir -p ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/
27 cp -f HAL/rtl8192/r8192ce_pci.ko ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/
29 mkdir -p ${pkgdir}/usr/share/rtl8192ce
30 cp ${srcdir}/${pkgname}_linux_${pkgver}/{readme.txt,release_note,realtek/RadioPower.sh,realtek/wireless-rtl-ac-dc-power.sh,runwpa,wpa1.conf,wpa_supplicant-0.6.9.tar.gz} ${pkgdir}/usr/share/rtl8192ce
33 md5sums=('b8859faa5cdf21dc439fab2ea511501d'
34 'fc3ec7b051c00cef4e5d3f5a19120ba5')