summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/zd1211-firmware/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/abs/core-testing/zd1211-firmware/PKGBUILD b/abs/core-testing/zd1211-firmware/PKGBUILD
index 179a8ca..a583f8e 100644
--- a/abs/core-testing/zd1211-firmware/PKGBUILD
+++ b/abs/core-testing/zd1211-firmware/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 59439 2009-11-23 22:50:09Z giovanni $
# Maintainer: Dan McGee <dan@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=zd1211-firmware
pkgver=1.4
-pkgrel=2
+pkgrel=3
pkgdesc="Firmware for the in-kernel26 zd1211rw wireless driver"
-arch=(i686 x86_64)
+arch=('any')
url="http://zd1211.wiki.sourceforge.net/"
-# firmware files are here:
-# http://sourceforge.net/project/showfiles.php?group_id=129083
license=('GPL')
provides=('zd1211')
-source=(http://downloads.sourceforge.net/zd1211/zd1211-firmware-$pkgver.tar.bz2)
+source=(http://downloads.sourceforge.net/zd1211/${pkgname}-${pkgver}.tar.bz2)
md5sums=('19f28781d76569af8551c9d11294c870')
build() {
- cd $startdir/src/zd1211-firmware
- mkdir -p $startdir/pkg/lib/firmware/zd1211/
- # just unpack the files to the firmware directory
- install -m644 * $startdir/pkg/lib/firmware/zd1211/ || return 1
+ cd "${srcdir}/${pkgname}"
+ # Install firmware
+ for i in zd1211* WS11U*
+ do
+ install -D -m 644 $i "${pkgdir}/lib/firmware/zd1211/$i" || return 1
+ done
}