# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=ceton-scripts
pkgver=1
pkgrel=2
pkgdesc="Scripts by Ron Frazier for use with Ceton InfiniTV4 and MythTV 0.24"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://linuxtv.org/"
source=('http://www.ronfrazier.net/mythtv/0.24/downloads/ceton_qam_channelmap.tar.gz'
	'http://www.ronfrazier.net/mythtv/0.24/downloads/ceton_channelmap.tar.gz'
	'ccm.patch' 'cqcm.patch')
build() {
  cd $startdir/src/
  patch -p0 < ccm.patch
  patch -p0 < cqcm.patch
  mkdir -p $startdir/pkg/usr/bin
  install -m 755 *.pl $pkgdir/usr/bin
}
md5sums=('7ef75cb01332ab86d56c348353d59a0e'
         'ab362902926c01a9b03498cc1aed4d14'
         'b57b7f04c1c177455b47efc958325ab9'
         '40af5815f67fdf8070cf8aa041928a3b')