summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/hauppauge-hvr-firmware/PKGBUILD
blob: ef3819164487118f15f3fd859da86c29b976f8d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkgname=hauppauge-hvr-firmware
pkgver=1
pkgrel=1
pkgdesc="firmware needed for the hvr cards"
arch=(i686 x86_64)
url=""
makedepends='unzip'
source=("http://steventoth.net/linux/hvr1800/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip")


build() {
  cd $startdir || return 1
  mkdir -p $startdir/pkg/lib/firmware
  unzip -jo HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip  Driver85/hcw85enc.rom
  unzip -jo HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85mlC.rom
  cd $startdir/src/Driver85
  mv hcw85enc.rom v4l-cx23885-enc.fw
  mv hcw85mlC.rom v4l-cx23885-avcore-01.fw
  cp -rp *.fw  $startdir/pkg/lib/firmware
}