summaryrefslogtreecommitdiffstats
path: root/abs/core/hdhomerun/PKGBUILD
blob: 3e1a064f794771a5822b01d3541618646c08140c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=hdhomerun	
pkgver=20090806
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/
}