From 9cea1a6c7df291d661803c339814536157227926 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 6 Oct 2015 00:01:27 +0000
Subject: ceton_infinitv: rebuild for kernel

---
 abs/core/ceton_infinitv/PKGBUILD | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/abs/core/ceton_infinitv/PKGBUILD b/abs/core/ceton_infinitv/PKGBUILD
index a95a638..3a9ed39 100755
--- a/abs/core/ceton_infinitv/PKGBUILD
+++ b/abs/core/ceton_infinitv/PKGBUILD
@@ -1,10 +1,10 @@
 # Maintainer: Cecil Watson<knoppmyth@gmail.com>
 
 pkgname=ceton_infinitv
-_kernver=3.18.14-1-ARCH
+_kernver=3.18.22-1-ARCH
 _extramods="extramodules-3.18-ARCH"
 pkgver=2013_0326_2226
-pkgrel=10
+pkgrel=11
 usb_pkgver=0.1.0
 pkgdesc="Drivers for Ceton InfiniTV4 - pci/usb "
 arch=('i686' 'x86_64')
@@ -26,13 +26,15 @@ build() {
   patch -p1 -i $srcdir/no-date-time-warn.patch
   make KERNEL_VERSION=$_kernver
 
-  cd $startdir/src/infinitv-usbd-$usb_pkgver
+  cd $srcdir/infinitv-usbd-$usb_pkgver
   LDFLAGS="/usr/lib/libgthread-2.0.so" ./configure --prefix=/usr
   make
-  make DESTDIR=${pkgdir} install
 }
 
 package() {
+  cd $srcdir/infinitv-usbd-$usb_pkgver
+  make DESTDIR=${pkgdir} install
+
   install -Dm644 ${srcdir}/ceton_infinitv_linux_driver/ctn91xx.ko ${pkgdir}/usr/lib/modules/$_extramods/ctn91xx.ko
   gzip -9 ${pkgdir}/usr/lib/modules/$_extramods/ctn91xx.ko
   install -Dm644 ${srcdir}/98-ctn91xx.rules ${pkgdir}/etc/udev/rules.d/98-ctn91xx.rules
-- 
cgit v0.12

