1 # Maintainer: winix ( wininix [at] gmail [dot] com )
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Austin ( doorknob60 [at] gmail [dot] com )
5 pkgname=broadcom-wl-lts
8 pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
10 url='http://www.broadcom.com/support/802.11/linux_sta.php'
11 license=('MIXED/Proprietary')
12 depends=('kernel26-lts')
13 makedepends=('kernel26-lts-headers' 'patch' 'make' 'gcc')
16 [ "$CARCH" = 'x86_64' ] && \
19 source=("http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${ARCH}-v${pkgver//./_}.tar.gz"
22 sha1sums=('3062830f86c5f1f41d8a4b26d6e0072dc989c7ba'
23 '94b85f4e8f800e07799fd28a965bde69633e2cdc')
24 [ "$CARCH" = 'x86_64' ] && \
25 sha1sums=('6076de3bd8206b3e7b8bfc2eadbe3a97eec4e735'
26 '94b85f4e8f800e07799fd28a965bde69633e2cdc')
32 patch -p1 < license.patch
33 make -C /lib/modules/`uname -r`/build M=`pwd`
38 install -D -m 755 wl.ko "$pkgdir/lib/modules/`uname -r`/kernel/drivers/net/wireless/wl.ko"
39 install -D -m 644 lib/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"