summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-20 05:10:40 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-20 05:10:40 -0200
commita5104dca53ab0802f835f6e8720799a1f19521e6 (patch)
tree668938bfa5caef1fbef40dfe5befa484dd452d7b
parent2c2747b7fcb7aac155221acfe1d8e3cc5b48155e (diff)
downloadabslibre-a5104dca53ab0802f835f6e8720799a1f19521e6.tar.gz
abslibre-a5104dca53ab0802f835f6e8720799a1f19521e6.tar.bz2
abslibre-a5104dca53ab0802f835f6e8720799a1f19521e6.zip
openfwwf: add new package to [libre]
-rw-r--r--libre/openfwwf/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/openfwwf/PKGBUILD b/libre/openfwwf/PKGBUILD
new file mode 100644
index 000000000..ebb98ff9e
--- /dev/null
+++ b/libre/openfwwf/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor (Arch): Jussi Timperi <jussi.timperi at gmail dot com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=openfwwf
+pkgver=5.2
+pkgrel=2
+pkgdesc="Free firmware for some Broadcom 43xx series WLAN chips"
+arch=('any')
+url="http://www.ing.unibs.it/openfwwf/"
+license=('GPL2')
+makedepends=('b43-tools')
+source=(http://www.ing.unibs.it/openfwwf/firmware/$pkgname-$pkgver.tar.gz)
+md5sums=('e045a135453274e439ae183f8498b0fa')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's|Opensource|Free|' LICENSE
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make PREFIX="$pkgdir/usr/lib/firmware" install
+
+ install -d -m755 $pkgdir/usr/share/licenses/$pkgname
+ install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname
+}
+
+# vim:set ts=2 sw=2 et: