From c50e43346a227bd2f968fa4b2b0dbe33180e6021 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 16 Feb 2014 17:44:04 -0600
Subject: ctntad: first inclusion

refs #954
---
 abs/core/ctntad/PKGBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 abs/core/ctntad/PKGBUILD

diff --git a/abs/core/ctntad/PKGBUILD b/abs/core/ctntad/PKGBUILD
new file mode 100644
index 0000000..9135dae
--- /dev/null
+++ b/abs/core/ctntad/PKGBUILD
@@ -0,0 +1,28 @@
+#6 Maintainer: Jameson Pugh <imntreal@gmail.com>
+pkgname=ctntad
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Ceton InfiniTV Tunning Adapter Driver"
+arch=('i686' 'x86_64')
+url="http://cetoncorp.com/infinitv_support/linux_drivers/"
+license=('GPL')
+depends=('gupnp' 'libgusb')
+source=("http://cetoncorp.com/downloads/$pkgname-$pkgver.tar.gz")
+sha256sums=('7929eb2e69868cc2969a95f8c93320bcf003c5276ef4e7c49a63b8df7f3855d9')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix undefined reference to symbol 'g_thread_init'
+  sed -i "s|g_thread_init(NULL);|/*g_thread_init(NULL);*/|" src/main.c
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
-- 
cgit v0.12

