1 # Maintainer: Techlive Zheng <techlivezheng [at] gmail [dot] com>
2 # Contributor: Peter Bui <pnutzh4x0r@gmail.com>
7 pkgdesc="Realtek 8192SE wireless chipset drivers for kernel26-bfs."
8 pkgver=2.6.0019.1207.2010
11 depends=('kernel26-bfs>=2.6.27' 'kernel26-bfs<2.6.40' 'rtl8192se-firmware=2.6.0019.1207.2010')
12 makedepends=('kernel26-bfs-headers>=2.6.27' 'kernel26-bfs-headers<2.6.40')
13 install="rtl8192se-bfs.install"
14 source=("http://www.nd.edu/~pbui/scratch/aur/${_pkgname}_linux_${pkgver}.tar.gz")
16 arch=('i686' 'x86_64')
17 url="http://www.realtek.com.tw/"
20 cd ${srcdir}/${_pkgname}_linux_${pkgver}
22 #sed -i 's/-DENABLE_LPS//' HAL/rtl8192/Makefile || return 1
23 #sed -i 's/-DENABLE_LPS//' HAL/rtl8192/*/Makefile || return 1
25 make KSRC=/lib/modules/${_kerver}/build LINUX_KSRC_MODULE=/lib/modules/${_kerver}/kernel/drivers/net/wireless || return 1
29 cd ${srcdir}/${_pkgname}_linux_${pkgver}
31 install -D -m 644 HAL/rtl8192/r8192se_pci.ko ${pkgdir}/lib/modules/${_kerver}/kernel/drivers/net/wireless/r8192se_pci.ko
34 md5sums=('2c122c209784452fd5bbbad3ef1f7fa1')