summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/ceton_infinitv/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/abs/core/ceton_infinitv/PKGBUILD b/abs/core/ceton_infinitv/PKGBUILD
index 6db8ad2..ee86b84 100755
--- a/abs/core/ceton_infinitv/PKGBUILD
+++ b/abs/core/ceton_infinitv/PKGBUILD
@@ -2,14 +2,15 @@
pkgname=ceton_infinitv
_kernver=3.18.4-1-ARCH
+_extramods="extramodules-3.18-ARCH"
pkgver=2013_0326_2226
-pkgrel=5
+pkgrel=8
usb_pkgver=0.1.0
pkgdesc="Drivers for Ceton InfiniTV4 - pci/usb "
arch=('i686' 'x86_64')
license=('GPL2')
url="http://cetoncorp.com/infinitv_support/linux_drivers"
-depends=('linux' 'libgusb' 'libnl1' 'ctntad')
+depends=('linux>=3.18' 'linux<3.19' 'libgusb' 'libnl1' 'ctntad')
makedepends=(linux-headers)
install=ceton.install
source=("http://cetoncorp.com/downloads/ceton_infinitv_linux_driver_$pkgver.tar.gz"
@@ -32,8 +33,9 @@ build() {
}
package() {
- install -Dm755 ${srcdir}/ceton_infinitv_linux_driver/ctn91xx.ko ${pkgdir}/usr/lib/modules/$_kernver/extramodules/ctn91xx.ko
- install -Dm755 ${srcdir}/98-ctn91xx.rules ${pkgdir}/etc/udev/rules.d/98-ctn91xx.rules
+ 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
#usb support
cp ${srcdir}/ceton_usb_udev.rules ${pkgdir}/etc/udev/rules.d/