updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / b43-fwcutter-patched / PKGBUILD
blob3ba60fd9882269a163bf00dca69ae07ebcbdea58
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
6 _realname=b43-fwcutter
7 pkgver=012
8 pkgrel=1
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"
11 depends=('glibc')
12 license=('GPL')
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)
21 build()
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"
27   make || return 1
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')