summaryrefslogtreecommitdiff
path: root/libre/openfwwf/PKGBUILD
blob: 5ce3a6b3edbd234709e2aa7953c83f83fe73d738 (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
# Contributor (Arch): Jussi Timperi <jussi.timperi at gmail dot com>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=openfwwf
pkgver=5.2
pkgrel=3
pkgdesc="Free firmware for some Broadcom 43xx series WLAN chips"
arch=('any')
url="http://www.ing.unibs.it/openfwwf/"
license=('GPL2')
makedepends=('b43-tools')
source=(http://www.ing.unibs.it/openfwwf/firmware/$pkgname-$pkgver.tar.gz)
md5sums=('e045a135453274e439ae183f8498b0fa')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"

  sed -i 's|Opensource|Free|' LICENSE
}

build() {
  cd "$srcdir/$pkgname-$pkgver"

  make || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make PREFIX="$pkgdir/usr/lib/firmware/b43-open" install

  install -d -m755 $pkgdir/usr/share/licenses/$pkgname
  install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname
}

# vim:set ts=2 sw=2 et: