1 # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
2 # Maintainer: Thomas Baechler <thomas@archlinux.org>
3 # Contributor: Gabriel Morrison <gdantas2@gmail.com>
5 pkgname=b43-fwcutter-patched
9 pkgdesc="firmware extractor for the bcm43xx kernel module. Patched with Fedora patches to support newer firmware version."
10 url="http://linuxwireless.org/en/users/Drivers/b43"
13 conflicts=('b43-fwcutter')
14 provides=('b43-fwcutter')
15 arch=('i686' 'x86_64')
16 source=(http://bu3sch.de/b43/fwcutter/${_realname}-${pkgver}.tar.bz2
17 0001-fwcutter-mklist.py-Update-to-new-library-and-skip-so.patch
18 0002-fwcutter-Add-two-new-sources-for-478.104-firmware.patch
19 0003-fwcutter-Use-ARRAY_SIZE.patch)
23 cd $startdir/src/${_realname}-$pkgver
24 patch -Np2 -i "${srcdir}/0001-fwcutter-mklist.py-Update-to-new-library-and-skip-so.patch" || return 1
25 patch -Np2 -i "${srcdir}/0002-fwcutter-Add-two-new-sources-for-478.104-firmware.patch" || return 1
26 patch -Np2 -i "${srcdir}/0003-fwcutter-Use-ARRAY_SIZE.patch"
28 install -D -m755 b43-fwcutter $startdir/pkg/usr/bin/b43-fwcutter || return 1
29 install -D -m644 b43-fwcutter.1 $startdir/pkg/usr/share/man/man1/b43-fwcutter.1 || return 1
32 md5sums=('69eadf67b459f313a8d6b37aaabef96c'
33 '5eae66f91c8cfd61dd71a3e48882f189'
34 '27f987e6161e5450afc6fdc23f5a2fcf'
35 '643c62ea370a85d4accc5cc908fe5b86')