# $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=3
pkgdesc="Firmware for the in-kernel26 zd1211rw wireless driver"
arch=('any')
url="http://zd1211.wiki.sourceforge.net/"
license=('GPL')
provides=('zd1211')
source=(http://downloads.sourceforge.net/zd1211/${pkgname}-${pkgver}.tar.bz2)
md5sums=('19f28781d76569af8551c9d11294c870')

build() {
  cd "${srcdir}/${pkgname}"
  # Install firmware
  for i in zd1211* WS11U*
  do                
    install -D -m 644 $i "${pkgdir}/lib/firmware/zd1211/$i" || return 1
  done
}