# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $ # Maintainer: Cecil Watson<knoppmyth@gmail.com> pkgname=ceton _kernver=2.6.39-LinHES pkgver=1.7 pkgrel=1 pkgdesc="Drivers for Ceton InfiniTV4" arch=('i686' 'x86_64') license=('GPL2') url="http://linuxtv.org/" depends=('kernel26') makedepends=(kernel-headers) install=ceton.install source=('http://www.cetoncorp.com/downloads/ceton_infinitv_linux_driver_1_7.tar.gz' 'ctn_udev.patch' 'ifctn.sh') build() { cd $startdir/src/ceton_infinitv_linux_driver patch -p0 < $srcdir/ctn_udev.patch make make install mkdir -p $startdir/pkg/lib/modules/$_kernver/extra cp ctn91xx.ko $startdir/pkg/lib/modules/$_kernver/extra mkdir -p $pkgdir/etc/udev/rules.d cp 98-ctn91xx.rules $pkgdir/etc/udev/rules.d/ mkdir -p $pkgdir/usr/LH/bin install -m 755 $srcdir/ifctn.sh $pkgdir/usr/LH/bin } md5sums=('36949422b310b73f43f2c153e4157916' '05371fcff10a2d9058644e860f5c17ef' '3fc4c4981d2dab54b297f17564b7729f')