summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a5a8f2c44bf69b4e4e2b6801e0a3feed92df760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>

_basename_=b43-firmware
pkgname=${_basename_}-classic
pkgver=5.100.138
pkgrel=1
pkgdesc="Firmware for Broadcom B43 wireless networking chips - trusted release"
arch=("any")
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
license=("GPL")
depends=("linux>=3.2")
makedepends=("b43-fwcutter>=015")
conflicts=(${_basename_})
options=(!emptydirs)
source=(http://www.lwfinger.com/${_basename_}/broadcom-wl-${pkgver}.tar.bz2)

build() {
	# Messages
	warning "If you encounter problems with v5.100, try the '${_basename_}' package (v6.30) instead."
	read -p "==> PROMPT: Press any key to continue building this package ... " -n 1
}

package() {
	cd "${srcdir}"/broadcom-wl-${pkgver}

	# Directories
	install -d "${pkgdir}"/usr/lib/firmware/

	# Application
	b43-fwcutter -w "${pkgdir}"/usr/lib/firmware/ linux/wl_apsta.o

	# Messages
	#msg "You should add 'b43' to the 'MODULES' array of your '/etc/rc.conf' file."
}

sha1sums=('21691a8c99c66f58d18f863ee43593d1633b454c')