pkgname=hdhomerun	
pkgver=20100213
pkgrel=1
pkgdesc="utils and firmware needed for the hdhomerun"
arch=(i686 x86_64)
url="http://www.silicondust.com"
firmware=hdhomerun_atsc_firmware_$pkgver.bin
firmware2=hdhomerun_dvbt_firmware_$pkgver.bin
firmware3=hdhomerun_tech_atsc_firmware_$pkgver.bin
url=http://download.silicondust.com/hdhomerun
source=("$url/libhdhomerun_$pkgver.tgz" "$url/$firmware" "$url/$firmware2" "$url/$firmware3" )


build() {
  cd $startdir/src || return 1
	cd libhdhomerun
	make || return 1
	install -D -m755 hdhomerun_config $startdir/pkg/usr/bin/hdhomerun_config
	cd ..
	mkdir -p $startdir/pkg/lib/firmware
	cp $startdir/src/*.bin $startdir/pkg/lib/firmware/
}
md5sums=('c69f46d0a671e3d7aaacc82ad393644a'
         '8b23724c2afb04cd909d3c1ff392d287'
         '369be2b2c95c2c93e0f2b09fcc01edfb'
         '9e83fbf8a74d6b8f746cc9f1414e9167')