PKGBUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Contributor (Arch): maz-1 <loveayawaka[at]gmail[dot]com>
  2. # Maintainer: André Silva <emulatorman@hyperbola.info>
  3. pkgname=b43-tools
  4. pkgver=019
  5. pkgrel=2.1
  6. pkgdesc="Tools for the Broadcom 43xx series WLAN chip"
  7. arch=('i686' 'x86_64' 'armv7h')
  8. url="https://github.com/mbuesch/b43-tools"
  9. license=('GPL2' 'GPL3')
  10. depends=('python2')
  11. makedepends=('bison' 'flex' 'python2')
  12. provides=("b43-fwcutter=$pkgver")
  13. conflicts=('b43-fwcutter')
  14. replaces=('b43-fwcutter')
  15. source=("https://github.com/mbuesch/b43-tools/archive/b43-fwcutter-019.tar.gz")
  16. sha256sums=('6fe82827655cf978a649c2c3f8221bc22bded28e4ec2f4ab0a7df487ea1ea4aa')
  17. build() {
  18. cd "$srcdir/b43-tools-b43-fwcutter-$pkgver"
  19. sed -i -e 's/\/man\//\/share\/man\//g' fwcutter/Makefile
  20. make -C assembler
  21. make -C disassembler
  22. make -C fwcutter
  23. make -C ssb_sprom
  24. }
  25. package() {
  26. cd $srcdir/b43-tools-b43-fwcutter-$pkgver/debug/; python2 install.py install --root "$pkgdir/"; cd ..
  27. make -C assembler PREFIX="$pkgdir/usr/" install
  28. make -C disassembler PREFIX="$pkgdir/usr/" install
  29. make -C fwcutter PREFIX="$pkgdir/usr/" install
  30. make -C ssb_sprom PREFIX="$pkgdir/usr/" install
  31. }