# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=b43-fwcutter
pkgver=019
pkgrel=4
pkgdesc="firmware extractor for the b43 kernel module"
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
depends=('glibc')
license=('GPL')
arch=('x86_64')
source=("https://bues.ch/b43/fwcutter/${pkgname}-${pkgver}.tar.bz2"{,.asc})
sha256sums=('d6ea85310df6ae08e7f7e46d8b975e17fc867145ee249307413cfbe15d7121ce'
            'SKIP')

build() {
	cd $pkgname-$pkgver
	make
}

package() {
	cd $pkgname-$pkgver
	install -D -m755 b43-fwcutter "$pkgdir"/usr/bin/b43-fwcutter
	install -D -m644 b43-fwcutter.1 "$pkgdir"/usr/share/man/man1/b43-fwcutter.1
}
