1 # Maintainer: Jeff Parent <jecxjo@sdf.lonestar.org>
2 # Contributor: Jeff Parent <jecxjo@sdf.lonestar.org>
7 pkgdesc="Driver for Realtek 8192CE/DE/SE PCI wireless chipsets."
9 depends=('linux-headers')
10 source=("ftp://WebUser:wK9xBuD5@95.130.192.218/cn/wlan/92ce_se_de_linux_mac80211_0005.1230.2011.tar.gz")
11 arch=('i686' 'x86_64')
12 url="http://www.realtek.com.tw/"
13 install="${pkgname}.install"
14 md5sums=('f7d166274151276a7f7035813a5d5336')
17 cd "${srcdir}"/rtl_92ce_92se_92de_linux_mac80211_${pkgver}
22 cd "${srcdir}"/rtl_92ce_92se_92de_linux_mac80211_${pkgver}
23 mkdir -p "${pkgdir}"/lib/firmware
24 cp -rf firmware/rtlwifi "${pkgdir}"/lib/firmware/rtlwifi
25 mkdir -p "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi/rtl8192{c,d,s}e
26 cp -f rtl8192ce/rtl8192ce.ko "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi/rtl8192ce
27 cp -f rtl8192de/rtl8192de.ko "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi/rtl8192de
28 cp -f rtl8192se/rtl8192se.ko "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi/rtl8192se
29 cp -f rtlwifi.ko "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi
30 find "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi -name '*.ko' -exec gzip {} \;