1 # Maintainer: Eric Belanger <eric@archlinux.org>
6 pkgdesc="Drivers for Realtek WiFi cards - module for kernel26"
8 url="http://rtl-wifi.sourceforge.net/"
12 conflicts=('rtl-wifi')
13 install=rtl-wifi.install
17 _svntrunk=http://rtl-wifi.svn.sourceforge.net/svnroot/rtl-wifi
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
26 cp -r $_svnmod $_svnmod-build
31 install -D -m644 ieee80211/ieee80211_crypt-rtl.ko $startdir/pkg/lib/modules/$_kernver/kernel/net/ieee80211/rtl-wifi/ieee80211_crypt-rtl.ko
32 install -D -m644 ieee80211/ieee80211_crypt_wep-rtl.ko $startdir/pkg/lib/modules/$_kernver/kernel/net/ieee80211/rtl-wifi/ieee80211_crypt_wep-rtl.ko
33 install -D -m644 ieee80211/ieee80211_crypt_tkip-rtl.ko $startdir/pkg/lib/modules/$_kernver/kernel/net/ieee80211/rtl-wifi/ieee80211_crypt_tkip-rtl.ko
34 install -D -m644 ieee80211/ieee80211_crypt_ccmp-rtl.ko $startdir/pkg/lib/modules/$_kernver/kernel/net/ieee80211/rtl-wifi/ieee80211_crypt_ccmp-rtl.ko
35 install -D -m644 ieee80211/ieee80211-rtl.ko $startdir/pkg/lib/modules/$_kernver/kernel/net/ieee80211/rtl-wifi/ieee80211-rtl.ko
37 install -D -m644 rtl8187-newstack/r8187.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/r8187.ko
38 install -D -m644 rtl818x-newstack/r8180.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/r8180.ko
40 # Update kernel version in .install script
41 sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/g" $startdir/rtl-wifi.install