updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / rtl8192ce / PKGBUILD
blobb5e222633eccb0c659deb7c960eba6239bc979bf
1 # Maintainer: Jeff Parent <jecxjo@sdf.lonestar.org>
2 # Contributor: Jeff Parent <jecxjo@sdf.lonestar.org>
4 pkgname=rtl8192ce
5 pkgver=2.6.0006.0321.2011
6 pkgrel=3
7 pkgdesc="Driver for Realtek 8192CE and 8188CE PCI wireless chipsets."
8 license=("GPL")
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"
16 build() {
17         cd ${srcdir}/${pkgname}_linux_${pkgver}
19         patch -p1 < ../kernel-3.0_support.patch
21         make || return 1
23         mkdir -p ${pkgdir}/lib/firmware
24         cp -rf firmware/RTL8192CE ${pkgdir}/lib/firmware
25         
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')