# Contributor: Michael Hanson <hansonorders@verizon.net> pkgname=scanfw pkgver=98d.beta pkgrel=1 pkgdesc="A CCI scanner for MythTV" arch=('i686' 'x86_64' ) url="https://help.ubuntu.com/community/MythTV_Firewire/scanfw" license=('GPL2') depends=('libraw1394' 'libiec61883' 'libavc1394') install=scanfw.install source=($pkgname-$pkgver.tar.gz) md5sums=('8b1da4fca459062f366232a3de6c7775') build() { cd "$srcdir/$pkgname-$pkgver" make || return 1 mkdir -p "$pkgdir"/usr/bin mkdir -p "$pkgdir"/usr/share/doc/"$pkgname" cp "$srcdir"/"$pkgname"-"$pkgver"/scanfw "$pkgdir"/usr/bin/ || return 1 cp "$srcdir"/"$pkgname"-"$pkgver"/mythtv.firewire.channels.pl "$pkgdir"/usr/bin/ || return 1 cp "$srcdir"/"$pkgname"-"$pkgver"/SCAN_TIPS "$pkgdir"/usr/share/doc/"$pkgname" || return 1 cp "$srcdir"/"$pkgname"-"$pkgver"/README "$pkgdir"/usr/share/doc/"$pkgname" || return 1 }