1 # Contributor: Ryan Stephenson <delcake.rs@gmail.com>
5 pkgdesc="Drivers for Atheros based ethernet cards"
7 url="http://support.asus.com"
9 makedepends=('unrar' 'unzip')
10 source=(http://dlcdnet.asus.com/pub/ASUS/mb/socket775/P5KPL-CM/LinuxDrivers.zip)
11 md5sums=('cbea613885e5d29e80138661e941ba55')
14 cd $srcdir/LinuxDrivers/L1e_Lan/
15 mkdir l1e && mv l1e-l2e-linux-v$pkgver.rar l1e/
16 cd l1e && unrar x l1e-l2e-linux-v$pkgver.rar || return 1
17 cd src && KBUILD_NOPEDANTIC=1 make || return 1
18 install -D -m 755 atl1e.ko $pkgdir/lib/modules/$(uname -r)/kernel/drivers/net/atl1e/atl1e.ko || return 1