# $Id: PKGBUILD 156466 2012-04-18 14:54:36Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=zd1211-firmware
pkgver=1.4
pkgrel=6
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')

package() {
  cd "${srcdir}/${pkgname}"
  # Install firmware
  for i in zd1211*
  do
    install -D -m 644 $i "${pkgdir}/usr/lib/firmware/zd1211/$i"
  done
}