Subject: [PATCH] main/b43-fwcutter: modernize

From: Bart Ribbers <[email-masked]>
Date: Thu, 19 Sep 2019 00:56:06 +0200

---
 main/b43-fwcutter/APKBUILD | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/main/b43-fwcutter/APKBUILD b/main/b43-fwcutter/APKBUILD
index e9e9db20ad..956573e0a9 100644
--- a/main/b43-fwcutter/APKBUILD
+++ b/main/b43-fwcutter/APKBUILD
@@ -2,26 +2,23 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=b43-fwcutter
 pkgver=019
-pkgrel=0
+pkgrel=1
 pkgdesc="Tool to extract firmware from Broadcom drivers"
-url="http://linuxwireless.org/en/users/Drivers/b43"
+url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
 arch="all"
-license="BSD"
-depends=""
-makedepends=""
-install=""
+license="BSD-2-Clause"
 subpackages="$pkgname-doc"
 source="http://bues.ch/b43/fwcutter/b43-fwcutter-$pkgver.tar.bz2"
+options="!check" # No tests
 
-_builddir="$srcdir"/b43-fwcutter-$pkgver
 build() {
-	cd "$_builddir"
-	make || return 1
+	cd "$builddir"
+	make
 }
 
 package() {
-	cd "$_builddir"
-	make PREFIX="$pkgdir"/usr install || return 1
+	cd "$builddir"
+	make PREFIX="$pkgdir"/usr install
 	mkdir -p "$pkgdir"/usr/share/
 	mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
 }
-- 
2.21.0