# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=dvb-firmware
pkgver=1
pkgrel=9
pkgdesc="Firmware for DVB cards"
arch=('i586' 'i686' 'x86_64')
url="http://linuxtv.org/"
source=(ftp://ftp.knoppmyth.net/R6/sources/dvb-firmware.tar.bz2
http://dl.ivtvdriver.org/ivtv/firmware/cx18-firmware.tar.gz
	xc3028-v27.fw
	dvb-usb-dib0700-1.20.fw
	dvb-usb-af9015.fw)
md5sums=('6932d0b4f763424e35b7fa3a6cc82a2e'
         '667fa0ee6b79e054736beef922966333'
         '293dc5e915d9a0f74a368f8a2ce3cc10'
         'f42f86e2971fd994003186a055813237'
         'dccbc92c9168cc629a88b34ee67ede7b')

build() {
  cd $startdir/src/
  mkdir -p $startdir/pkg/lib/firmware
  cp -a dvb-fw/* $startdir/pkg/lib/firmware
  cp -a cx18-firmware/*.fw $startdir/pkg/lib/firmware
  cp $startdir/src/*.fw $startdir/pkg/lib/firmware
}