pkgname=hdhomerun pkgver=20090415 pkgrel=1 pkgdesc="utils and firmware needed for the hdhomerun" arch=(i686 x86_64) url="http://www.silicondust.com" firmware=hdhomerun_atsc_firmware_20090415.bin firmware2=hdhomerun_dvbt_firmware_20090415.bin firmware3=hdhomerun_tech_atsc_firmware_20090415.bin url=http://download.silicondust.com/hdhomerun source=("$url/libhdhomerun_20090415.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/ }