updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / b43-firmware-legacy / PKGBUILD
blob0c25d016b4f5520331a98324e61cde025483a80e
1 # B43-Firmware: Installer: Arch
2 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
3 # Contributor: Todd Partridge (Gen2ly) toddrpartridge (at) gmail
5 pkgname=b43-firmware-legacy
6 realname=wl_apsta
7 pkgver=3.130.20.0
8 pkgrel=1
9 pkgdesc="Firmware for legacy Broadcom B43 wireless networking chips"
10 arch=("i686" "x86_64")
11 url="http://linuxwireless.org/en/users/Drivers/b43"
12 license=("GPL")
13 depends=("kernel26")
14 makedepends=("b43-fwcutter")
15 options=(!emptydirs)
17 source=(http://downloads.openwrt.org/sources/${realname}-${pkgver}.o)
18 sha1sums=('b1f61d283bd7d05ade313da522cb0d0ad4033652')
21 build() {
22         cd ${srcdir}
24         # Directories
25         install -d ${pkgdir}/lib/firmware/
27         # Install
28         b43-fwcutter -w "${pkgdir}/lib/firmware/" ${realname}-${pkgver}.o || return 1
30         # Messages
31         msg "You should also add 'b43legacy' into the 'modules' section of your '/etc/rc.conf' file."