1 # Contributor: gtklocker <karanti.linux@googlemail.com>
2 # Contributor: Benjamin Mtz (cruznick) <cruznick at archlinux dot us>
4 pkgname=b43-fwcutter-git
7 pkgdesc="Firmware extractor for the bcm43xx kernel module - git revision"
9 url="http://linuxwireless.org/en/users/Drivers/b43"
10 provides=(b43-fwcutter)
13 conflicts=('broadcom-wl' 'broadcom-wl-patched' 'b43-fwcutter')
18 _gitroot="git://git.bu3sch.de/b43-tools.git"
25 msg2 "Connecting to github.com Git server...."
26 if [ -d $_gitmain ] ; then
27 ( cd $_gitmain && git pull )
32 msg "GIT checkout done"
33 msg "Starting make..."
35 rm -rf $srcdir/$_gitmain/$_gitdir-build
36 cp -r $srcdir/$_gitmain/$_gitdir $srcdir/$_gitmain/$_gitdir-build
38 cd $srcdir/$_gitmain/$_gitdir-build
41 install -D -m755 b43-fwcutter $startdir/pkg/usr/bin/b43-fwcutter || return 1
42 install -D -m644 b43-fwcutter.1 $startdir/pkg/usr/share/man/man1/b43-fwcutter.1 || return 1