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

pkgname=dvb-firmware
pkgver=1
pkgrel=20
pkgdesc="Firmware for DVB cards"
replaces=('hd3000firmware')
arch=('i586' 'i686' 'x86_64')
url="http://linuxtv.org/"
source=(dvb-firmware.tar.bz2 xc5000.conf)

package() {
  cd $srcdir
  mkdir -p ${pkgdir}/lib/firmware
  cp -a dvb-fw/* ${pkgdir}/lib/firmware
  mkdir -p ${pkgdir}/etc/modprobe.d/
  install -D -m644 "${srcdir}/xc5000.conf" "${pkgdir}/etc/modprobe.d/"
}
md5sums=('d2ba68a1e49adbb71431295fc96cda60'
         'ad7db39e2a2afe3ffc7e65fd5822517d')